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