Exemple #1
0
 public static void FatalFormat(this ITcLog logger, string message, params object[] args)
 {
     if (logger.IsFatalEnabled())
     {
         logger.LogFormat(TcLogLevel.Fatal, message, args);
     }
 }
Exemple #2
0
 public static void FatalException(this ITcLog logger, string message, Exception exception, params object[] formatParams)
 {
     if (logger.IsFatalEnabled())
     {
         logger.Log(TcLogLevel.Fatal, message.AsFunc(), exception, formatParams);
     }
 }
Exemple #3
0
 public static void Fatal(this ITcLog logger, string message)
 {
     if (logger.IsFatalEnabled())
     {
         logger.Log(TcLogLevel.Fatal, message.AsFunc());
     }
 }