C# 클래스 PeerCastStation.Core.Logger

파일 보기 프로젝트 열기: kumaryu/peercaststation

공개 메소드들

메소드 설명
AddWriter ( System writer ) : void

ログの出力先を追加します

ClearWriter ( ) : void

全てのログ出力先を外します

Close ( ) : void
Flush ( ) : void
Logger ( Type type ) : System

出力元のクラスを指定してLoggerオブジェクトを初期化します

Logger ( string source ) : System

出力元の名前を指定してLoggerオブジェクトを初期化します

RemoveWriter ( System writer ) : void

指定したWriterをログ出力先から外します

비공개 메소드들

메소드 설명
Debug ( Exception exception ) : void
Debug ( object format ) : void
Error ( Exception exception ) : void
Error ( object format ) : void
Fatal ( Exception exception ) : void
Fatal ( object format ) : void
Info ( Exception exception ) : void
Info ( object format ) : void
Logger ( ) : System
Output ( LogLevel level, string source, Exception e ) : void
Output ( LogLevel level, string source, string format ) : void
SetOutputListeners ( LoggerOutputTarget targets, LoggerOutputTarget old ) : void
Warn ( Exception exception ) : void
Warn ( object format ) : void

메소드 상세

AddWriter() 공개 정적인 메소드

ログの出力先を追加します
public static AddWriter ( System writer ) : void
writer System 出力先として追加するTextWriter
리턴 void

ClearWriter() 공개 정적인 메소드

全てのログ出力先を外します
public static ClearWriter ( ) : void
리턴 void

Close() 정적인 공개 메소드

static public Close ( ) : void
리턴 void

Flush() 정적인 공개 메소드

static public Flush ( ) : void
리턴 void

Logger() 공개 메소드

出力元のクラスを指定してLoggerオブジェクトを初期化します
public Logger ( Type type ) : System
type System.Type
리턴 System

Logger() 공개 메소드

出力元の名前を指定してLoggerオブジェクトを初期化します
public Logger ( string source ) : System
source string 出力元の名前
리턴 System

RemoveWriter() 공개 정적인 메소드

指定したWriterをログ出力先から外します
public static RemoveWriter ( System writer ) : void
writer System
리턴 void