C# 클래스 Shared.Logger

파일 보기 프로젝트 열기: sealuzh/PersonalAnalytics

공개 메소드들

메소드 설명
GetLogPath ( ) : string

Returns the path to the logfile

WriteToConsole ( string message ) : void

Writes a message to the console.

WriteToLogFile ( Exception e ) : void

Writes a message from a source to the logfile in the output folder.

비공개 메소드들

메소드 설명
Log ( Exception e, TextWriter w ) : void

메소드 상세

GetLogPath() 공개 정적인 메소드

Returns the path to the logfile
public static GetLogPath ( ) : string
리턴 string

WriteToConsole() 공개 정적인 메소드

Writes a message to the console.
public static WriteToConsole ( string message ) : void
message string
리턴 void

WriteToLogFile() 공개 정적인 메소드

Writes a message from a source to the logfile in the output folder.
public static WriteToLogFile ( Exception e ) : void
e System.Exception
리턴 void