vibe.d beta banner
get vibe.d
0.9.5

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

Function logException

Logs an exception, including a debug stack trace.

void logException(LogLevel level = LogLevel.error, string file = __FILE__, int line = __LINE__) (
  Throwable exception,
  string error_description
) nothrow @safe;

Example

void test()!nothrow
{
	try {
		throw oew!Exception(
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.