Interface ILogHandler
Logs handler.
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
public interface ILogHandler
Methods
add_SendExceptionLog(LogExceptionDelegate)
Declaration
void add_SendExceptionLog(LogExceptionDelegate value)
Parameters
Flax
|
add_SendLog(LogDelegate)
Declaration
void add_SendLog(LogDelegate value)
Parameters
Flax
|
Log(LogType, Object, String)
Logs a formatted message.
Declaration
void Log(LogType logType, Object context, string message)
Parameters
LogException(Exception, Object)
A variant of ILogHandler.LogFormat that logs an exception message.
Declaration
void LogException(Exception exception, Object context)
Parameters
System. Runtime Exception. |
Object
context
Object to which the message applies. |
LogWrite(LogType, String)
Logs the raw message to the log.
Declaration
void LogWrite(LogType logType, string message)
Parameters
Log Type of the log message. Not: fatal will stop the engine. Error may show a message popup. |
System. The message contents. |
remove_SendExceptionLog(LogExceptionDelegate)
Declaration
void remove_SendExceptionLog(LogExceptionDelegate value)
Parameters
Flax
|
remove_SendLog(LogDelegate)
Declaration
void remove_SendLog(LogDelegate value)
Parameters
Flax
|
Events
SendExceptionLog
Occurs on sending a exception log message.
Declaration
event LogExceptionDelegate SendExceptionLog
Event Type
Flax
|
SendLog
Occurs on sending a log message.
Declaration
event LogDelegate SendLog
Event Type
Flax
|