C# 클래스 Scorchio.VisualStudio.Services.TraceService

Defines the TraceService type.
파일 보기 프로젝트 열기: asudbury/NinjaCoderForMvvmCross 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetTimedMessage string
WriteErrorToLogFile void
WriteMessageToLogFile void

공개 메소드들

메소드 설명
Initialize ( bool logToTraceSetting, bool logToConsoleSetting, bool logToFileSetting, bool logExtendedMessageSetting, string logFileSetting, bool displayErrorsSetting, string errorFileSetting ) : void

Initializes the specified settings.

WriteDebugLine ( string message ) : void

Writes the extended line.

WriteError ( Exception exception ) : void

Writes the error.

WriteError ( string message ) : void

Writes the Error.

WriteHeader ( string message ) : void

Writes a header message.

WriteLine ( string message ) : void

Writes the line.

비공개 메소드들

메소드 설명
GetTimedMessage ( string type, string message ) : string

Gets the timed message.

WriteErrorToLogFile ( string message ) : void

Writes the error to log file.

WriteMessageToLogFile ( string message ) : void

Writes the message to the log file.

메소드 상세

Initialize() 공개 정적인 메소드

Initializes the specified settings.
public static Initialize ( bool logToTraceSetting, bool logToConsoleSetting, bool logToFileSetting, bool logExtendedMessageSetting, string logFileSetting, bool displayErrorsSetting, string errorFileSetting ) : void
logToTraceSetting bool if set to true [log to trace setting].
logToConsoleSetting bool if set to true [log to console setting].
logToFileSetting bool if set to true [log to file setting].
logExtendedMessageSetting bool if set to true [log extended message setting].
logFileSetting string The log file setting.
displayErrorsSetting bool if set to true [display errors setting].
errorFileSetting string The error file setting.
리턴 void

WriteDebugLine() 공개 정적인 메소드

Writes the extended line.
public static WriteDebugLine ( string message ) : void
message string The message.
리턴 void

WriteError() 공개 정적인 메소드

Writes the error.
public static WriteError ( Exception exception ) : void
exception System.Exception The exception.
리턴 void

WriteError() 공개 정적인 메소드

Writes the Error.
public static WriteError ( string message ) : void
message string The message.
리턴 void

WriteHeader() 공개 정적인 메소드

Writes a header message.
public static WriteHeader ( string message ) : void
message string The message.
리턴 void

WriteLine() 공개 정적인 메소드

Writes the line.
public static WriteLine ( string message ) : void
message string The message.
리턴 void