Class UnityLogger
public class UnityLogger : Logger
- Inheritance
-
UnityLogger
- Inherited Members
Constructors
UnityLogger(Type, IEnumerable<ILogTarget>)
public UnityLogger(Type source = null, IEnumerable<ILogTarget> logTargets = null)
Parameters
source
TypelogTargets
IEnumerable<ILogTarget>
Fields
OnLogDebugEvent
public static UnityLogger.OnLogEvent OnLogDebugEvent
Field Value
OnLogErrorEvent
public static UnityLogger.OnLogEvent OnLogErrorEvent
Field Value
OnLogInfoEvent
public static UnityLogger.OnLogEvent OnLogInfoEvent
Field Value
OnLogTraceEvent
public static UnityLogger.OnLogEvent OnLogTraceEvent
Field Value
OnLogWarningEvent
public static UnityLogger.OnLogEvent OnLogWarningEvent
Field Value
Methods
Debug(string, params (string key, object value)[])
public override void Debug(string log, params (string key, object value)[] args)
Parameters
Error(string, params (string key, object value)[])
public override void Error(string log, params (string key, object value)[] args)
Parameters
Info(string, params (string key, object value)[])
public override void Info(string log, params (string key, object value)[] args)
Parameters
Trace(string, params (string key, object value)[])
public override void Trace(string log, params (string key, object value)[] args)
Parameters
Warning(string, params (string key, object value)[])
public override void Warning(string log, params (string key, object value)[] args)
Parameters
With(Type)
public override Logger With(Type source)
Parameters
source
Type
Returns
WithArgs(params (string key, object value)[])
public override Logger WithArgs(params (string key, object value)[] args)
Parameters
Returns
With<TSource>()
public override Logger With<TSource>()
Returns
Type Parameters
TSource