Exemple #1
0
 public static void DebugFormat(this ITcLog logger, string message, params object[] args)
 {
     if (logger.IsDebugEnabled())
     {
         logger.LogFormat(TcLogLevel.Debug, message, args);
     }
 }
Exemple #2
0
 public static void WarnFormat(this ITcLog logger, string message, params object[] args)
 {
     if (logger.IsWarnEnabled())
     {
         logger.LogFormat(TcLogLevel.Warn, message, args);
     }
 }
Exemple #3
0
 public static void TraceFormat(this ITcLog logger, string message, params object[] args)
 {
     if (logger.IsTraceEnabled())
     {
         logger.LogFormat(TcLogLevel.Trace, message, args);
     }
 }
Exemple #4
0
 public static void InfoFormat(this ITcLog logger, string message, params object[] args)
 {
     if (logger.IsInfoEnabled())
     {
         logger.LogFormat(TcLogLevel.Info, message, args);
     }
 }
Exemple #5
0
 public static void FatalFormat(this ITcLog logger, string message, params object[] args)
 {
     if (logger.IsFatalEnabled())
     {
         logger.LogFormat(TcLogLevel.Fatal, message, args);
     }
 }
Exemple #6
0
 public static void ErrorFormat(this ITcLog logger, string message, params object[] args)
 {
     if (logger.IsErrorEnabled())
     {
         logger.LogFormat(TcLogLevel.Error, message, args);
     }
 }