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, Object)
Declaration
public void LogException(Exception exception, Object context)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | exception | |
UnityEngine.Object | context |
LogFormat(LogType, Object, String, Object[])
Declaration
public void LogFormat(LogType logType, Object context, string format, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
LogType | logType | |
UnityEngine.Object | context | |
System.String | format | |
System.Object[] | args |