C# 클래스 HttpServer.ConsoleLogWriter

This class writes to the console. It colors the output depending on the logprio and includes a 3-level stacktrace (in debug mode)
상속: ILogWriter
파일 보기 프로젝트 열기: 3di/3di-viewer-rei-libs

공개 프로퍼티들

프로퍼티 타입 설명
Instance ConsoleLogWriter

공개 메소드들

메소드 설명
GetColor ( LogPrio prio ) : ConsoleColor

Get color for the specified logprio

Write ( object source, LogPrio prio, string message ) : void

Logwriters the specified source.

메소드 상세

GetColor() 공개 정적인 메소드

Get color for the specified logprio
public static GetColor ( LogPrio prio ) : ConsoleColor
prio LogPrio prio for the log entry
리턴 ConsoleColor

Write() 공개 메소드

Logwriters the specified source.
public Write ( object source, LogPrio prio, string message ) : void
source object object that wrote the logentry.
prio LogPrio Importance of the log message
message string The message.
리턴 void

프로퍼티 상세

Instance 공개적으로 정적으로 프로퍼티

The actual instance of this class.
public static ConsoleLogWriter,HttpServer Instance
리턴 ConsoleLogWriter