Represents a custom debug log handler for writing logs to a file.
More...
Inherits ILogHandler.
|
| 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.
|
|
Represents a custom debug log handler for writing logs to a file.
◆ LogException()
void Enablegames.eagDebugHandler.LogException |
( |
Exception | exception, |
|
|
UnityEngine::Object | context ) |
|
inline |
Logs the given exception.
- Parameters
-
mode | The debug mode to determine if the exception should be logged. |
exception | The 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
-
logType | The type of log message (e.g. log, warning, error). |
context | The object associated with the log message. |
format | The format string for the log message. |
args | The arguments to format the log message. |
The documentation for this class was generated from the following file:
- /Users/yiyangshang/egdl2/Assets/eag/Scripts/enablegames/Debugging/eagDebug.cs