C# 클래스 SharpLog.Desktop.ColoredConsoleLogger

상속: SynchronousFormattableLogger
파일 보기 프로젝트 열기: prasannavl/SharpLog

공개 메소드들

메소드 설명
Format ( string text, LogLevel level, string callerName ) : string
SetGlobalTextColor ( ConsoleColor color ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
Execute ( LogLevel level, string text, string callerName ) : void

비공개 메소드들

메소드 설명
GetColor ( LogLevel level ) : ConsoleColor

메소드 상세

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Execute() 보호된 메소드

protected Execute ( LogLevel level, string text, string callerName ) : void
level LogLevel
text string
callerName string
리턴 void

Format() 공개 메소드

public Format ( string text, LogLevel level, string callerName ) : string
text string
level LogLevel
callerName string
리턴 string

SetGlobalTextColor() 공개 메소드

public SetGlobalTextColor ( ConsoleColor color ) : void
color ConsoleColor
리턴 void