C# Класс Kinect.Common.LogExtensions

Extension methods for the log4net logging framework
Показать файл Открыть проект

Открытые методы

Метод Описание
IfDebug ( this log, object message ) : void

Logs a message object with the log4net.Core.Level.Debug level

IfDebug ( this log, object message, Exception exception ) : void

Logs a message object with the log4net.Core.Level.Debug level, including the stack trace of the System.Exception passed with

IfDebugFormat ( this log, IFormatProvider provider, string format ) : void

Logs a formatted message string with the log4net.Core.Level.Debug level

IfDebugFormat ( this log, string format ) : void

Logs a formatted message string with the log4net.Core.Level.Debug level

IfError ( this log, object message ) : void

Logs a message object with the log4net.Core.Level.Error level

IfError ( this log, object message, Exception exception ) : void

Logs a message object with the log4net.Core.Level.Error level, including the stack trace of the System.Exception passed with

IfErrorFormat ( this log, IFormatProvider provider, string format ) : void

Logs a formatted message string with the log4net.Core.Level.Error level

IfErrorFormat ( this log, string format ) : void

Logs a formatted message string with the log4net.Core.Level.Error level

IfFatal ( this log, object message ) : void

Logs a message object with the log4net.Core.Level.Fatal level

IfFatal ( this log, object message, Exception exception ) : void

Logs a message object with the log4net.Core.Level.Fatal level, including the stack trace of the System.Exception passed with

IfFatalFormat ( this log, IFormatProvider provider, string format ) : void

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

IfFatalFormat ( this log, string format ) : void

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

IfInfo ( this log, object message ) : void

Logs a message object with the log4net.Core.Level.Info level

IfInfo ( this log, object message, Exception exception ) : void

Logs a message object with the log4net.Core.Level.Info level, including the stack trace of the System.Exception passed with

IfInfoFormat ( this log, IFormatProvider provider, string format ) : void

Logs a formatted message string with the log4net.Core.Level.Info level

IfInfoFormat ( this log, string format ) : void

Logs a formatted message string with the log4net.Core.Level.Info level

IfWarn ( this log, object message ) : void

Logs a message object with the log4net.Core.Level.Warn level

IfWarn ( this log, object message, Exception exception ) : void

Logs a message object with the log4net.Core.Level.Warn level, including the stack trace of the System.Exception passed with

IfWarnFormat ( this log, IFormatProvider provider, string format ) : void

Logs a formatted message string with the log4net.Core.Level.Warn level

IfWarnFormat ( this log, string format ) : void

Logs a formatted message string with the log4net.Core.Level.Warn level

Описание методов

IfDebug() публичный статический Метод

Logs a message object with the log4net.Core.Level.Debug level
public static IfDebug ( this log, object message ) : void
log this Instance of
message object The message object to log
Результат void

IfDebug() публичный статический Метод

Logs a message object with the log4net.Core.Level.Debug level, including the stack trace of the System.Exception passed with
public static IfDebug ( this log, object message, Exception exception ) : void
log this Instance of
message object The message object to log
exception System.Exception The exception to log, including its stack trace
Результат void

IfDebugFormat() публичный статический Метод

Logs a formatted message string with the log4net.Core.Level.Debug level
public static IfDebugFormat ( this log, IFormatProvider provider, string format ) : void
log this Instance of
provider IFormatProvider An that supplies culture-specific format information
format string A string containing zero or more format items
Результат void

IfDebugFormat() публичный статический Метод

Logs a formatted message string with the log4net.Core.Level.Debug level
public static IfDebugFormat ( this log, string format ) : void
log this Instance of
format string A string containing zero or more format items
Результат void

IfError() публичный статический Метод

Logs a message object with the log4net.Core.Level.Error level
public static IfError ( this log, object message ) : void
log this Instance of
message object The message object to log
Результат void

IfError() публичный статический Метод

Logs a message object with the log4net.Core.Level.Error level, including the stack trace of the System.Exception passed with
public static IfError ( this log, object message, Exception exception ) : void
log this Instance of
message object The message object to log
exception System.Exception The exception to log, including its stack trace
Результат void

IfErrorFormat() публичный статический Метод

Logs a formatted message string with the log4net.Core.Level.Error level
public static IfErrorFormat ( this log, IFormatProvider provider, string format ) : void
log this Instance of
provider IFormatProvider An that supplies culture-specific format information
format string A string containing zero or more format items
Результат void

IfErrorFormat() публичный статический Метод

Logs a formatted message string with the log4net.Core.Level.Error level
public static IfErrorFormat ( this log, string format ) : void
log this Instance of
format string A string containing zero or more format items
Результат void

IfFatal() публичный статический Метод

Logs a message object with the log4net.Core.Level.Fatal level
public static IfFatal ( this log, object message ) : void
log this Instance of
message object The message object to log
Результат void

IfFatal() публичный статический Метод

Logs a message object with the log4net.Core.Level.Fatal level, including the stack trace of the System.Exception passed with
public static IfFatal ( this log, object message, Exception exception ) : void
log this Instance of
message object The message object to log
exception System.Exception The exception to log, including its stack trace
Результат void

IfFatalFormat() публичный статический Метод

Logs a formatted message string with the log4net.Core.Level.Fatal level
public static IfFatalFormat ( this log, IFormatProvider provider, string format ) : void
log this Instance of
provider IFormatProvider An that supplies culture-specific format information
format string A string containing zero or more format items
Результат void

IfFatalFormat() публичный статический Метод

Logs a formatted message string with the log4net.Core.Level.Fatal level
public static IfFatalFormat ( this log, string format ) : void
log this Instance of
format string A string containing zero or more format items
Результат void

IfInfo() публичный статический Метод

Logs a message object with the log4net.Core.Level.Info level
public static IfInfo ( this log, object message ) : void
log this Instance of
message object The message object to log
Результат void

IfInfo() публичный статический Метод

Logs a message object with the log4net.Core.Level.Info level, including the stack trace of the System.Exception passed with
public static IfInfo ( this log, object message, Exception exception ) : void
log this Instance of
message object The message object to log
exception System.Exception The exception to log, including its stack trace
Результат void

IfInfoFormat() публичный статический Метод

Logs a formatted message string with the log4net.Core.Level.Info level
public static IfInfoFormat ( this log, IFormatProvider provider, string format ) : void
log this Instance of
provider IFormatProvider An that supplies culture-specific format information
format string A string containing zero or more format items
Результат void

IfInfoFormat() публичный статический Метод

Logs a formatted message string with the log4net.Core.Level.Info level
public static IfInfoFormat ( this log, string format ) : void
log this Instance of
format string A string containing zero or more format items
Результат void

IfWarn() публичный статический Метод

Logs a message object with the log4net.Core.Level.Warn level
public static IfWarn ( this log, object message ) : void
log this Instance of
message object The message object to log
Результат void

IfWarn() публичный статический Метод

Logs a message object with the log4net.Core.Level.Warn level, including the stack trace of the System.Exception passed with
public static IfWarn ( this log, object message, Exception exception ) : void
log this Instance of
message object The message object to log
exception Exception The exception to log, including its stack trace
Результат void

IfWarnFormat() публичный статический Метод

Logs a formatted message string with the log4net.Core.Level.Warn level
public static IfWarnFormat ( this log, IFormatProvider provider, string format ) : void
log this Instance of
provider IFormatProvider An that supplies culture-specific format information
format string A string containing zero or more format items
Результат void

IfWarnFormat() публичный статический Метод

Logs a formatted message string with the log4net.Core.Level.Warn level
public static IfWarnFormat ( this log, string format ) : void
log this Instance of
format string A string containing zero or more format items
Результат void