Search Results


std.​experimental.​logger

Implements logging facilities.


std.​experimental.​logger.​nulllogger

std.​experimental.​logger.​core

std.​experimental.​logger.​nulllogger.​NullLogger.​this

The default constructor for the NullLogger.


std.​experimental.​logger.​core.​log

This function logs data.


std.​experimental.​logger.​core.​isLoggingActiveAt

This template evaluates if the passed LogLevel is active. The previously described version statements are used to decide if the LogLevel is active. The version statements only influence the compile unit they are used with, therefore this function can only disable logging this specific compile unit.


std.​experimental.​logger.​nulllogger.​NullLogger

The NullLogger will not process any log messages.


std.​experimental.​logger.​core.​isLoggingActive

This compile-time flag is true if logging is not statically disabled.


std.​experimental.​logger.​core.​moduleLogLevel

This template returns the LogLevel named "logLevel" of type LogLevel defined in a user defined module where the filename has the suffix "_loggerconfig.d". This LogLevel sets the minimal LogLevel of the module.


std.​experimental.​logger.​core.​isLoggingEnabled

This functions is used at runtime to determine if a LogLevel is active. The same previously defined version statements are used to disable certain levels. Again the version statements are associated with a compile unit and can therefore not disable logging in other compile units. pure bool isLoggingEnabled()(LogLevel ll) @safe nothrow @nogc

Suggestion Box / Bug Report