예제 #1
0
 public static bool IsTraceEnabled(this ITcLog logger)
 {
     GuardAgainstNullLogger(logger);
     return(logger.IsLogLevelEnabled(TcLogLevel.Trace));
 }
예제 #2
0
 public static bool IsDebugEnabled(this ITcLog logger)
 {
     GuardAgainstNullLogger(logger);
     return(logger.IsLogLevelEnabled(TcLogLevel.Debug));
 }
예제 #3
0
 public static bool IsErrorEnabled(this ITcLog logger)
 {
     GuardAgainstNullLogger(logger);
     return(logger.IsLogLevelEnabled(TcLogLevel.Error));
 }