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