Exemplo n.º 1
0
 public static void WarnFormat(this ITcLog logger, string message, params object[] args)
 {
     if (logger.IsWarnEnabled())
     {
         logger.LogFormat(TcLogLevel.Warn, message, args);
     }
 }
Exemplo n.º 2
0
 public static void WarnException(this ITcLog logger, string message, Exception exception, params object[] formatParams)
 {
     if (logger.IsWarnEnabled())
     {
         logger.Log(TcLogLevel.Warn, message.AsFunc(), exception, formatParams);
     }
 }
Exemplo n.º 3
0
 public static void Warn(this ITcLog logger, string message)
 {
     if (logger.IsWarnEnabled())
     {
         logger.Log(TcLogLevel.Warn, message.AsFunc());
     }
 }