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