C# 클래스 Terrarium.Tools.TerrariumTraceListener

The TerrariumTraceListener is responsible for stopping the painting timer whenever an error or assertion occurs.
상속: System.Diagnostics.DefaultTraceListener
파일 보기 프로젝트 열기: eugeniomiro/Terrarium 1 사용 예제들

공개 메소드들

메소드 설명
Fail ( string message ) : void

Used for logging failure messages

Fail ( string message, string detailMessage ) : void

Used for logging failure messages, along with a detailed message

TerrariumTraceListener ( ) : System

Creates a default TerrariumTraceListener with logging turned off

TerrariumTraceListener ( System.Boolean loggingFlag ) : System

Creates a TerrariumTraceListener with a custom value for logging.

Write ( object o ) : void

Used for logging standard messages

Write ( object o, string category ) : void

Used for logging categorized messages

Write ( string message ) : void

Used for logging standard messages

Write ( string message, string category ) : void

Used for logging categorized messages

WriteLine ( object o ) : void

Used for logging standard messages

WriteLine ( object o, string category ) : void

Used for categorized message logging

WriteLine ( string message ) : void

Used for logging standard messages

WriteLine ( string message, string category ) : void

Used for logging categorized messages

비공개 메소드들

메소드 설명
showErrorDialog ( string message, string stackTrace ) : void

Creates and displays an error dialog if game errors are enabled. If the dialog fails to show then the Application is exited. If the user clicks the Cancel button the Applicaton is exited.

메소드 상세

Fail() 공개 메소드

Used for logging failure messages
public Fail ( string message ) : void
message string Message to log
리턴 void

Fail() 공개 메소드

Used for logging failure messages, along with a detailed message
public Fail ( string message, string detailMessage ) : void
message string Message to log.
detailMessage string Detailed error message.
리턴 void

TerrariumTraceListener() 공개 메소드

Creates a default TerrariumTraceListener with logging turned off
public TerrariumTraceListener ( ) : System
리턴 System

TerrariumTraceListener() 공개 메소드

Creates a TerrariumTraceListener with a custom value for logging.
public TerrariumTraceListener ( System.Boolean loggingFlag ) : System
loggingFlag System.Boolean If True logging is turned on, off otherwise
리턴 System

Write() 공개 메소드

Used for logging standard messages
public Write ( object o ) : void
o object Object to log, ToString will be called.
리턴 void

Write() 공개 메소드

Used for logging categorized messages
public Write ( object o, string category ) : void
o object Object to log, ToString will be called.
category string Message category.
리턴 void

Write() 공개 메소드

Used for logging standard messages
public Write ( string message ) : void
message string Message to log.
리턴 void

Write() 공개 메소드

Used for logging categorized messages
public Write ( string message, string category ) : void
message string Message to log.
category string Message category.
리턴 void

WriteLine() 공개 메소드

Used for logging standard messages
public WriteLine ( object o ) : void
o object Object to log, ToString will be called.
리턴 void

WriteLine() 공개 메소드

Used for categorized message logging
public WriteLine ( object o, string category ) : void
o object Object to log, ToString will be called.
category string Message category.
리턴 void

WriteLine() 공개 메소드

Used for logging standard messages
public WriteLine ( string message ) : void
message string Message to log.
리턴 void

WriteLine() 공개 메소드

Used for logging categorized messages
public WriteLine ( string message, string category ) : void
message string Message to log.
category string Message category.
리턴 void