C# 클래스 Economy.scripts.TextLogger

파일 보기 프로젝트 열기: jpcsupplies/Economy_mod

공개 메소드들

메소드 설명
Flush ( ) : void
Init ( ) : void

Initialize the TextLogger with a default filename. The TextLogger must be Initialized before it can write log entries. This allows a TextLogger to be created and the Write(...) methods invoked without the TextLogger initialized so you don't have to wrap the TextLogger variable with if statements.

Init ( string filename, bool addTimestamp = false, int delayedWrite ) : void

Initialize the TextLogger with a custom filename. The TextLogger must be Initialized before it can write log entries. This allows a TextLogger to be created and the Write(...) methods invoked without the TextLogger initialized so you don't have to wrap the TextLogger variable with if statements.

Terminate ( ) : void
WriteError ( string text ) : void
WriteException ( Exception ex, string additionalInformation = null ) : void
WriteGameLog ( string text ) : void
WriteInfo ( string text ) : void
WriteRaw ( TraceEventType eventType, string text ) : void
WriteStart ( string text ) : void
WriteStop ( string text ) : void
WriteVerbose ( string text ) : void
WriteWarning ( string text ) : void

비공개 메소드들

메소드 설명
Write ( TraceEventType eventType, bool writeRaw, string text ) : void

메소드 상세

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

Init() 공개 메소드

Initialize the TextLogger with a default filename. The TextLogger must be Initialized before it can write log entries. This allows a TextLogger to be created and the Write(...) methods invoked without the TextLogger initialized so you don't have to wrap the TextLogger variable with if statements.
public Init ( ) : void
리턴 void

Init() 공개 메소드

Initialize the TextLogger with a custom filename. The TextLogger must be Initialized before it can write log entries. This allows a TextLogger to be created and the Write(...) methods invoked without the TextLogger initialized so you don't have to wrap the TextLogger variable with if statements.
public Init ( string filename, bool addTimestamp = false, int delayedWrite ) : void
filename string
addTimestamp bool
delayedWrite int
리턴 void

Terminate() 공개 메소드

public Terminate ( ) : void
리턴 void

WriteError() 공개 메소드

public WriteError ( string text ) : void
text string
리턴 void

WriteException() 공개 메소드

public WriteException ( Exception ex, string additionalInformation = null ) : void
ex System.Exception
additionalInformation string
리턴 void

WriteGameLog() 공개 정적인 메소드

public static WriteGameLog ( string text ) : void
text string
리턴 void

WriteInfo() 공개 메소드

public WriteInfo ( string text ) : void
text string
리턴 void

WriteRaw() 공개 메소드

public WriteRaw ( TraceEventType eventType, string text ) : void
eventType TraceEventType
text string
리턴 void

WriteStart() 공개 메소드

public WriteStart ( string text ) : void
text string
리턴 void

WriteStop() 공개 메소드

public WriteStop ( string text ) : void
text string
리턴 void

WriteVerbose() 공개 메소드

public WriteVerbose ( string text ) : void
text string
리턴 void

WriteWarning() 공개 메소드

public WriteWarning ( string text ) : void
text string
리턴 void