EGDL2 2.1
Loading...
Searching...
No Matches
Enablegames.eagDebugHandler Class Reference

Represents a custom debug log handler for writing logs to a file. More...

Inherits ILogHandler.

Public Member Functions

 eagDebugHandler ()
 Handler for debug logs that writes log messages to a file.
 
 eagDebugHandler (Mode mode)
 Handler for debug logs that writes log messages to a file.
 
void LogFormat (LogType logType, UnityEngine.Object context, string format, params object[] args)
 Writes a formatted log message to a file and passes the log to the default log handler.
 
void LogException (Exception exception, UnityEngine.Object context)
 Logs the given exception.
 

Detailed Description

Represents a custom debug log handler for writing logs to a file.

Member Function Documentation

◆ LogException()

void Enablegames.eagDebugHandler.LogException ( Exception exception,
UnityEngine::Object context )
inline

Logs the given exception.

Parameters
modeThe debug mode to determine if the exception should be logged.
exceptionThe exception to be logged.

◆ LogFormat()

void Enablegames.eagDebugHandler.LogFormat ( LogType logType,
UnityEngine::Object context,
string format,
params object[] args )
inline

Writes a formatted log message to a file and passes the log to the default log handler.

Parameters
logTypeThe type of log message (e.g. log, warning, error).
contextThe object associated with the log message.
formatThe format string for the log message.
argsThe arguments to format the log message.

The documentation for this class was generated from the following file: