1
This commit is contained in:
@@ -40,6 +40,7 @@ namespace BITKit
|
||||
}
|
||||
public sealed class UnityLogger<T>:ILogger<T>
|
||||
{
|
||||
[HideInCallstack]
|
||||
public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
|
||||
{
|
||||
switch (logLevel)
|
||||
@@ -56,7 +57,7 @@ namespace BITKit
|
||||
}
|
||||
break;
|
||||
default:
|
||||
Debug.Log($"<color=cyan>{typeof(T).Name}</color>:{state.ToString()}");
|
||||
Debug.Log($"<b>{typeof(T).Name}</b>:{state.ToString()}");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user