Movatterモバイル変換


[0]ホーム

URL:


D Logo
Menu
Search

Library Reference

version 2.112.0

overview

Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.Requires a signed-in GitHub account. This works well for small changes.If you'd like to make larger changes you may want to consider usinga local clone.

std.logger.nulllogger

Sourcestd/logger/nulllogger.d

classNullLogger:std.logger.core.Logger;
TheNullLogger will not process any log messages.
In case of a log message withLogLevel.fatal nothing will happen.
Examples:
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");
@safe this(const LogLevellv = LogLevel.all);
The default constructor for theNullLogger.
Independent of the parameter this Logger will never log a message.
Parameters:
LogLevellvTheLogLevel for theNullLogger. By default theLogLevel forNullLogger isLogLevel.all.
Copyright © 1999-2026 by theD Language Foundation | Page generated byDdoc on Sat Feb 21 04:08:34 2026

[8]ページ先頭

©2009-2026 Movatter.jp