public static void DebugException(this ITcLog logger, string message, Exception exception, params object[] formatParams) { if (logger.IsDebugEnabled()) { logger.Log(TcLogLevel.Debug, message.AsFunc(), exception, formatParams); } }
public static void DebugFormat(this ITcLog logger, string message, params object[] args) { if (logger.IsDebugEnabled()) { logger.LogFormat(TcLogLevel.Debug, message, args); } }
public static void DebugException(this ITcLog logger, string message, Exception exception) { if (logger.IsDebugEnabled()) { logger.Log(TcLogLevel.Debug, message.AsFunc(), exception); } }
public static void Debug(this ITcLog logger, string message) { if (logger.IsDebugEnabled()) { logger.Log(TcLogLevel.Debug, message.AsFunc()); } }