At.FF.Krems.Utils.Logging.Log4NetExtensions.WarnFormatFast C# (CSharp) 메소드

WarnFormatFast() 공개 정적인 메소드

Logs a formatted message string with the F:log4net.Core.Level.Warn 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.Warn(System.Object,System.Exception) methods instead.

public static WarnFormatFast ( 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
리턴 void
        public static void WarnFormatFast(this ILog logger, IFormatProvider provider, string format, params object[] args)
        {
            if (logger.IsWarnEnabled)
            {
                logger.WarnFormat(provider, format, args);
            }
        }

Same methods

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