Sign in
rust
/
rust-lang
/
gcc
/
refs/heads/test/param-addressable
/
.
/
libphobos
/
testsuite
/
libphobos.phobos
/
std_logger_nulllogger.d
blob: 6c4444312f9079c11d5fbced692ca55cf613a03c [
file
] [
log
] [
blame
] [
edit
]
@safe
unittest
{
import
std
.
logger
.
nulllogger
;
import
std
.
logger
.
core
:
LogLevel
;
auto
nl1
=
new
NullLogger
(
LogLevel
.
all
);
nl1
.
info
(
"You will never read this."
);
nl1
.
fatal
(
"You will never read this, either and it will not throw"
);
}