英語版
このページの英語版を見る

std.logger.nulllogger

class NullLogger: std.logger.core.Logger;
NullLoggerログメッセージは処理されません。
LogLevel.fatal を含むログメッセージの場合、何も起こらない。
emailemail
Examples:
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");
@safe this(const LogLevel lv = LogLevel.all);
NullLogger のデフォルトコンストラクタ。
パラメータに関係なく、このロガーはメッセージをログに記録することはない。
Parameters: xml-ph-0000@deepl.internal は xml-ph-0001@deepl.internal のためのものである。デフォルトでは、xml-ph-0002@deepl.internal は
LogLevel lv NullLogger 用のLogLevel 。デフォルトでは、LogLevel forNullLoggerLogLevel.all である。
0emailxml-ph-0002@deepl.internal