Logger

ロガー

Alias This

instance

Members

Functions

captureException
T captureException(T dg)

式を評価した結果例外やエラーが発生したら、ロガーにそれを出力します。 例外はLogElement!Exに格納され、エラーはLogElement!Erに格納され、バックエンドに渡されます。

instance
LoggerImpl instance(string file, size_t line, string fn)
Undocumented in source. Be warned that the author may not have intended to support it.
thrLv
Level thrLv()
void thrLv(Level level)

ログに出力するしきい値レベルを設定・取得します。

trace
void trace(T args)

ロガーに値を出力します。 値はLogElement!Tに格納され、バックエンドに渡されます。

trace
void trace(T args)
Undocumented in source.
writefln
void writefln(string format, T args)
Undocumented in source.
writefln
void writefln(string format, T args)
Undocumented in source.
writeln
void writeln(T args)

ロガーに文字列を出力します。 文字列はLogElement!stringに格納され、バックエンドに渡されます。

writeln
void writeln(T args)
Undocumented in source.
writer
auto ref writer()

バックエンドがwriterプロパティをもつ場合、そのwriterプロパティをそのまま返します。

Structs

LoggerImpl
struct LoggerImpl
Undocumented in source.

Meta