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, Object)

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

LogFormat(LogType, Object, String, Object[])

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