Sign in
gnu
/
gcc
/
bfcb5da69a41f7a5e41faab39b763d9d7c8bd2ea
/
.
/
libphobos
/
testsuite
/
libphobos.phobos
/
std_logger_nulllogger.d
blob: 6c4444312f9079c11d5fbced692ca55cf613a03c [
file
] [
log
] [
blame
]
@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"
);
}