Logger(Exception, LogType, Int32)

Logs the specified exception message and StackTrace.

Declaration
public static void Logger(Exception exception, LogType logType, int logLevel)
Example
engine.Logger(new Exception("An unexpected error occurred!"), LogType.Error, 1);
Result
Error|1|ID0|Logger_Exception_Test|Exception => System.Exception An unexpected error occurred!
Type
Name
Description

exception

The exception to log.

logType

Specifies the log type.

logLevel

Specifies the log level.

Last updated