At.FF.Krems.Utils.Logging.Log4NetExtensions.FatalFormatFast C# (CSharp) Method

FatalFormatFast() public static method

Logs a formatted message string with the F:log4net.Core.Level.Fatal level.

The message is formatted using the String.Format method. See M:System.String.Format(System.String,System.Object[]) for details of the syntax of the format string and the behavior of the formatting.

This method does not take an T:System.Exception object to include in the log event. To pass an T:System.Exception use one of the M:log4net.ILog.Fatal(System.Object,System.Exception) methods instead.

public static FatalFormatFast ( this logger, IFormatProvider provider, string format ) : void
logger this log4net logger
provider IFormatProvider An that supplies culture-specific formatting information
format string A String containing zero or more format items
return void
        public static void FatalFormatFast(this ILog logger, IFormatProvider provider, string format, params object[] args)
        {
            if (logger.IsFatalEnabled)
            {
                logger.FatalFormat(provider, format, args);
            }
        }

Same methods

Log4NetExtensions::FatalFormatFast ( this logger, string format ) : void
Log4NetExtensions::FatalFormatFast ( this logger, string format, object arg0 ) : void
Log4NetExtensions::FatalFormatFast ( this logger, string format, object arg0, object arg1 ) : void
Log4NetExtensions::FatalFormatFast ( this logger, string format, object arg0, object arg1, object arg2 ) : void