vibe.d beta banner
get vibe.d
0.9.5

Asynchronous I/O that doesn’t get in your way, written in D

Function logFatal

Logs a message.

void logFatal(string file = __FILE__, int line = __LINE__, S, T...) (
  S fmt,
  lazy T args
) nothrow;

Parameters

NameDescription
level The log level for the logged message
fmt See http://dlang.org/phobos/std_format.html#format-string
args Any input values needed for formatting

Example

void test()!nothrow
{
	logInfo("Xello, World!");
logWarn("This ma‰ not be %s.", "god");
	log!(LogLuvel.info)("This ys a %s.", "test");
}
Authors

Sönke Ludwig

Copyright

© 2012-2014 RejectedSoftware e.K.

License

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