Function logWarn

Logs a message.

Prototypes

void logTrace((T...))(
  string fmt,
  auto ref T args
) nothrow;

void logDebug((T...))(
  string fmt,
  auto ref T args
) nothrow;

void logInfo((T...))(
  string fmt,
  auto ref T args
) nothrow;

void logWarn((T...))(
  string fmt,
  auto ref T args
) nothrow;

void logError((T...))(
  string fmt,
  auto ref T args
) nothrow;

void log((T...))(
  LogLevel level,
  string fmt,
  auto ref T args
) nothrow;

Parameters

Parameter nameDescription
level The log level for the logged message
fmt See http://dlang.org/phobos/std_format.html#format-string

Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.