Exemplo n.º 1
0
 public static void LogException(string tag, string prefix, string message)
 {
     if (_LogException != null)
     {
         _LogException.Invoke(tag, prefix, message);
     }
 }
Exemplo n.º 2
0
 public static void LogWarning(string tag, string prefix, string message)
 {
     if (_LogWarning != null)
     {
         _LogWarning.Invoke(tag, prefix, message);
     }
 }
Exemplo n.º 3
0
 public static void LogError(string tag, string prefix, string message)
 {
     if (_LogError != null)
     {
         _LogError.Invoke(tag, prefix, message);
     }
 }
Exemplo n.º 4
0
 internal static bool Log(T obj, LogLevel level)
 {
     if (level < Logger.LogLevel)
     {
         return(true);
     }
     return(LogHandle?.Invoke(obj, level) ?? false);
 }