示例#1
0
文件: Logger.cs 项目: Elly2018/ERPG
 public static void LogException(string tag, string prefix, string message)
 {
     if (_LogException != null)
     {
         _LogException.Invoke(tag, prefix, message);
     }
 }
示例#2
0
文件: Logger.cs 项目: Elly2018/ERPG
 public static void LogWarning(string tag, string prefix, string message)
 {
     if (_LogWarning != null)
     {
         _LogWarning.Invoke(tag, prefix, message);
     }
 }
示例#3
0
文件: Logger.cs 项目: Elly2018/ERPG
 public static void LogError(string tag, string prefix, string message)
 {
     if (_LogError != null)
     {
         _LogError.Invoke(tag, prefix, message);
     }
 }
示例#4
0
文件: Logger.cs 项目: ld123/Tools
 internal static bool Log(T obj, LogLevel level)
 {
     if (level < Logger.LogLevel)
     {
         return(true);
     }
     return(LogHandle?.Invoke(obj, level) ?? false);
 }