Пример #1
0
 public static void Wait(this ILog log, AutoCSer.Log.LogType type, string message, StackFrame stackFrame, bool isCache = false)
 {
     log.Wait(type, message, stackFrame, null, isCache ? AutoCSer.Log.CacheType.Queue : AutoCSer.Log.CacheType.None);
 }
Пример #2
0
 public static void Add(this ILog log, AutoCSer.Log.LogType type, Exception error, string message = null, bool isCache = false)
 {
     log.Add(type, error, message, isCache ? AutoCSer.Log.CacheType.Queue : AutoCSer.Log.CacheType.None);
 }
Пример #3
0
 public static bool IsAllType(this ILog log, AutoCSer.Log.LogType type)
 {
     return((log.Type & type) == type);
 }
Пример #4
0
 public static void Add(this ILog log, AutoCSer.Log.LogType type, string message, StackTrace stackTrace = null, bool isCache = false)
 {
     log.Add(type, message, null, stackTrace, isCache ? AutoCSer.Log.CacheType.Queue : AutoCSer.Log.CacheType.None);
 }
Пример #5
0
 public static bool IsAnyType(this ILog log, AutoCSer.Log.LogType type)
 {
     return((log.Type & type) != 0);
 }