C# 클래스 Catel.Logging.Log

Default logging class that writes to the console or output window.
상속: ILog
파일 보기 프로젝트 열기: Catel/Catel

공개 메소드들

메소드 설명
Indent ( ) : void

Increases the IndentLevel by 1.

Log ( Type targetType ) : System

Initializes a new instance of the Log class.

Unindent ( ) : void

Decreases the IndentLevel by 1.

WriteWithData ( string message, LogData logData, LogEvent logEvent ) : void

Writes the specified message as error message with log data.

WriteWithData ( string message, object extraData, LogEvent logEvent ) : void

Writes the specified message as specified log event with extra data.

비공개 메소드들

메소드 설명
DebugWithData ( Exception exception, string message, object extraData = null ) : void
DebugWithData ( string message, LogData logData ) : void
DebugWithData ( string message, object extraData = null ) : void
ErrorWithData ( Exception exception, string message, object extraData = null ) : void
ErrorWithData ( string message, LogData logData ) : void
ErrorWithData ( string message, object extraData = null ) : void
InfoWithData ( Exception exception, string message, object extraData = null ) : void
InfoWithData ( string message, LogData logData ) : void
InfoWithData ( string message, object extraData = null ) : void
WarningWithData ( Exception exception, string message, object extraData = null ) : void
WarningWithData ( string message, LogData logData ) : void
WarningWithData ( string message, object extraData = null ) : void
WriteMessage ( string message, object extraData, LogData logData, LogEvent logEvent ) : void

Raises the LogMessage event.

WriteWithData ( Exception exception, string message, object extraData, LogEvent logEvent ) : void

메소드 상세

Indent() 공개 메소드

Increases the IndentLevel by 1.
public Indent ( ) : void
리턴 void

Log() 공개 메소드

Initializes a new instance of the Log class.
The is null.
public Log ( Type targetType ) : System
targetType System.Type The type for which this log is intented.
리턴 System

Unindent() 공개 메소드

Decreases the IndentLevel by 1.
public Unindent ( ) : void
리턴 void

WriteWithData() 공개 메소드

Writes the specified message as error message with log data.
public WriteWithData ( string message, LogData logData, LogEvent logEvent ) : void
message string The message.
logData LogData The log data.
logEvent LogEvent The log event.
리턴 void

WriteWithData() 공개 메소드

Writes the specified message as specified log event with extra data.
public WriteWithData ( string message, object extraData, LogEvent logEvent ) : void
message string The message.
extraData object The extra data.
logEvent LogEvent The log event.
리턴 void