C# 클래스 Kinect.Common.LogExtensions

Extension methods for the log4net logging framework
파일 보기 프로젝트 열기: atosorigin/Kinect

공개 메소드들

메소드 설명
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