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