Class LogService
- Inheritance
-
LogService
- Inherited Members
-
- Extension Methods
-
Fields
CachedLogs
public static Stack<LogData> CachedLogs
Field Value
- Stack<LogData>
Properties
IsColored
public static Prefs<bool> IsColored { get; set; }
Property Value
- Prefs<bool>
IsEnabled
public static Prefs<bool> IsEnabled { get; set; }
Property Value
- Prefs<bool>
LogErrorOnErrorInstanceCreated
public static Prefs<bool> LogErrorOnErrorInstanceCreated { get; set; }
Property Value
- Prefs<bool>
LogStackTraceOnErrorInstanceCreated
public static Prefs<bool> LogStackTraceOnErrorInstanceCreated { get; set; }
Property Value
- Prefs<bool>
ShowCallerMemberName
public static Prefs<bool> ShowCallerMemberName { get; set; }
Property Value
- Prefs<bool>
Methods
ClearCachedColorHex()
public static void ClearCachedColorHex()
ContinueWithLogger(LogType, object, ExceptionType, string, string)
public static void ContinueWithLogger(LogType logType, object sender, ExceptionType issue, string callerMemberName = null, string callerFilePath = null)
Parameters
logType LogType
sender object
issue ExceptionType
callerMemberName string
callerFilePath string
ContinueWithLogger(LogType, object, string, string, string)
public static void ContinueWithLogger(LogType logType, object sender, string msg, string callerMemberName = null, string callerFilePath = null)
Parameters
logType LogType
sender object
msg string
callerMemberName string
callerFilePath string
Error(string, object, string, string)
public static void Error(string msg, object sender, string callerMemberName = "", string callerFilePath = "")
Parameters
msg string
sender object
callerMemberName string
callerFilePath string
Error(string, string, string)
public static void Error(string msg, string callerMemberName = "", string callerFilePath = "")
Parameters
msg string
callerMemberName string
callerFilePath string
Exception(Exception, object, string, string)
public static void Exception(Exception e, object sender, string callerMemberName = "", string callerFilePath = "")
Parameters
e Exception
sender object
callerMemberName string
callerFilePath string
Exception(Exception, string, string)
public static void Exception(Exception e, string callerMemberName = "", string callerFilePath = "")
Parameters
e Exception
callerMemberName string
callerFilePath string
GetColorHex(LogType)
public static string GetColorHex(LogType logType)
Parameters
logType LogType
Returns
- string
Info(string, object, string, string)
public static void Info(string msg, object sender, string callerMemberName = "", string callerFilePath = "")
Parameters
msg string
sender object
callerMemberName string
callerFilePath string
Info(string, string, string)
public static void Info(string msg, string callerMemberName = "", string callerFilePath = "")
Parameters
msg string
callerMemberName string
callerFilePath string
Native(string, object)
public static void Native(string msg, object sender = null)
Parameters
msg string
sender object
NativeError(string, object)
public static void NativeError(string msg, object sender = null)
Parameters
msg string
sender object
NativeWarning(string, object)
public static void NativeWarning(string msg, object sender = null)
Parameters
msg string
sender object
Warning(string, object, string, string)
public static void Warning(string msg, object sender, string callerMemberName = "", string callerFilePath = "")
Parameters
msg string
sender object
callerMemberName string
callerFilePath string
Warning(string, string, string)
public static void Warning(string msg, string callerMemberName = "", string callerFilePath = "")
Parameters
msg string
callerMemberName string
callerFilePath string
Events
OnLogAdded
public static event Action<LogData> OnLogAdded
Event Type
- Action<LogData>