Class MirageLogHandler
Log handler that adds prefixes to logging
Inheritance
System.Object
Syntax
public class MirageLogHandler : ILogHandler
Constructors
MirageLogHandler(MirageLogHandler.Settings, String, ILogHandler)
Declaration
public MirageLogHandler(MirageLogHandler.Settings settings, string fullTypeName = null, ILogHandler inner = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Mirage.Logging.MirageLogHandler.Settings | settings | |
| System.String | fullTypeName | |
| ILogHandler | inner |
Methods
LogException(Exception, UnityEngine.Object)
Declaration
public void LogException(Exception exception, UnityEngine.Object context)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Exception | exception | |
| UnityEngine.Object | context |
LogFormat(LogType, UnityEngine.Object, String, Object[])
Declaration
public void LogFormat(LogType logType, UnityEngine.Object context, string format, params object[] args)
Parameters
| Type | Name | Description |
|---|---|---|
| LogType | logType | |
| UnityEngine.Object | context | |
| System.String | format | |
| System.Object[] | args |