public static void FatalFormat(this ITcLog logger, string message, params object[] args) { if (logger.IsFatalEnabled()) { logger.LogFormat(TcLogLevel.Fatal, message, args); } }
public static void FatalException(this ITcLog logger, string message, Exception exception, params object[] formatParams) { if (logger.IsFatalEnabled()) { logger.Log(TcLogLevel.Fatal, message.AsFunc(), exception, formatParams); } }
public static void Fatal(this ITcLog logger, string message) { if (logger.IsFatalEnabled()) { logger.Log(TcLogLevel.Fatal, message.AsFunc()); } }