Sourcestd/logger/nulllogger.d
NullLogger:std.logger.core.Logger;NullLogger will not process any log messages.import std.logger.core : LogLevel;auto nl1 =newNullLogger(LogLevel.all);nl1.info("You will never read this.");nl1.fatal("You will never read this, either and it will not throw");
lv = LogLevel.all);LogLevellv | TheLogLevel for theNullLogger. By default theLogLevel forNullLogger isLogLevel.all. |