Sign in
gnu
/
gcc
/
b8c702f508a8111c68ee00a4ff1a00a64f6e25fc
/
.
/
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"
);
}