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