public static void WarnFormat(this ITcLog logger, string message, params object[] args) { if (logger.IsWarnEnabled()) { logger.LogFormat(TcLogLevel.Warn, message, args); } }
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); } }
public static void Warn(this ITcLog logger, string message) { if (logger.IsWarnEnabled()) { logger.Log(TcLogLevel.Warn, message.AsFunc()); } }