Skip to main content

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​
TypeNameDescription
Mirage.Logging.MirageLogHandler.Settingssettings
System.StringfullTypeName
ILogHandlerinner

Methods​

LogException(Exception, UnityEngine.Object)​

Declaration​
public void LogException(Exception exception, UnityEngine.Object context)
Parameters​
TypeNameDescription
System.Exceptionexception
UnityEngine.Objectcontext

LogFormat(LogType, UnityEngine.Object, String, Object[])​

Declaration​
public void LogFormat(LogType logType, UnityEngine.Object context, string format, params object[] args)
Parameters​
TypeNameDescription
LogTypelogType
UnityEngine.Objectcontext
System.Stringformat
System.Object[]args