英語版
このページの英語版を見る
std.logger.nulllogger
- class
NullLogger
: std.logger.core.Logger; NullLogger
ログメッセージは処理されません。LogLevel.fatal を含むログメッセージの場合、何も起こらない。emailemailExamples: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 forNullLogger はLogLevel.all である。
Copyright © 1999-2024 by the D Language Foundation
DEEPL APIにより翻訳、ところどころ修正。
このページの最新版(英語)
このページの原文(英語)
翻訳時のdmdのバージョン: 2.109.1
ドキュメントのdmdのバージョン: 2.109.1
翻訳日付 :
HTML生成日時:
編集者: dokutoku