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