Debian Codegraph @

libphobos/testsuite/libphobos.phobos/std_logger_nulllogger.d

raw
1 @safe unittest
2 {
3 import std.logger.nulllogger;
4
5 import std.logger.core : LogLevel;
6 auto nl1 = new NullLogger(LogLevel.all);
7 nl1.info("You will never read this.");
8 nl1.fatal("You will never read this, either and it will not throw");
9 }
10