C# 클래스 GSoft.Dynamite.Logging.TraceLogger

A logger that logs to SharePoint's ULS.
상속: ILogger
파일 보기 프로젝트 열기: GSoft-SharePoint/Dynamite-2010 1 사용 예제들

공개 메소드들

메소드 설명
Debug ( object message ) : void

Output the message at the Debug level.

Debug ( string format ) : void

Output the formatted message at the Debug level.

Error ( object message ) : void

Output the message at the Error level.

Error ( string format ) : void

Output the formatted message at the Error level.

Fatal ( object message ) : void

Output the message at the Fatal level.

Fatal ( string format ) : void

Output the formatted message at the Fatal level.

Info ( object message ) : void

Output the message at the Info level.

Info ( string format ) : void

Output the formatted message at the Info level.

TraceLogger ( string name, string categoryName, bool isDebugEnabled ) : Microsoft.SharePoint.Administration

Initializes a new instance of the TraceLogger class.

Warn ( object message ) : void

Output the message at the Warn level.

Warn ( string format ) : void

Output the formatted message at the Warn level.

보호된 메소드들

메소드 설명
InnerLog ( TraceSeverity traceSeverity, string message ) : void

Logs to the ULS.

메소드 상세

Debug() 공개 메소드

Output the message at the Debug level.
public Debug ( object message ) : void
message object The message to output.
리턴 void

Debug() 공개 메소드

Output the formatted message at the Debug level.
public Debug ( string format ) : void
format string The format to use.
리턴 void

Error() 공개 메소드

Output the message at the Error level.
public Error ( object message ) : void
message object The message to output.
리턴 void

Error() 공개 메소드

Output the formatted message at the Error level.
public Error ( string format ) : void
format string The format to use.
리턴 void

Fatal() 공개 메소드

Output the message at the Fatal level.
public Fatal ( object message ) : void
message object The message to output.
리턴 void

Fatal() 공개 메소드

Output the formatted message at the Fatal level.
public Fatal ( string format ) : void
format string The format to use.
리턴 void

Info() 공개 메소드

Output the message at the Info level.
public Info ( object message ) : void
message object The message to output.
리턴 void

Info() 공개 메소드

Output the formatted message at the Info level.
public Info ( string format ) : void
format string The format to use.
리턴 void

InnerLog() 보호된 메소드

Logs to the ULS.
protected InnerLog ( TraceSeverity traceSeverity, string message ) : void
traceSeverity TraceSeverity The trace severity.
message string The message.
리턴 void

TraceLogger() 공개 메소드

Initializes a new instance of the TraceLogger class.
public TraceLogger ( string name, string categoryName, bool isDebugEnabled ) : Microsoft.SharePoint.Administration
name string The name.
categoryName string Name of the category.
isDebugEnabled bool if set to true [is debug enabled].
리턴 Microsoft.SharePoint.Administration

Warn() 공개 메소드

Output the message at the Warn level.
public Warn ( object message ) : void
message object The message to output.
리턴 void

Warn() 공개 메소드

Output the formatted message at the Warn level.
public Warn ( string format ) : void
format string The format to use.
리턴 void