C# Class Kinect.Common.LogExtensions

Extension methods for the log4net logging framework
Afficher le fichier Open project: atosorigin/Kinect

Méthodes publiques

Méthode Description
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

Method Details

IfDebug() public static méthode

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
Résultat void

IfDebug() public static méthode

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
Résultat void

IfDebugFormat() public static méthode

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
Résultat void

IfDebugFormat() public static méthode

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
Résultat void

IfError() public static méthode

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
Résultat void

IfError() public static méthode

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
Résultat void

IfErrorFormat() public static méthode

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
Résultat void

IfErrorFormat() public static méthode

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
Résultat void

IfFatal() public static méthode

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
Résultat void

IfFatal() public static méthode

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
Résultat void

IfFatalFormat() public static méthode

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
Résultat void

IfFatalFormat() public static méthode

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
Résultat void

IfInfo() public static méthode

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
Résultat void

IfInfo() public static méthode

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
Résultat void

IfInfoFormat() public static méthode

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
Résultat void

IfInfoFormat() public static méthode

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
Résultat void

IfWarn() public static méthode

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
Résultat void

IfWarn() public static méthode

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
Résultat void

IfWarnFormat() public static méthode

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
Résultat void

IfWarnFormat() public static méthode

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
Résultat void