C# 클래스 CryEngine.Debug

Contains methods useful for tracking down bugs.
파일 보기 프로젝트 열기: PoppermostProductions/CryMono

공개 메소드들

메소드 설명
DisplayException ( Exception ex, bool fatal = false ) : void

Displays an exception via the CryMono exception form.

Log ( string format, LogType type = LogType.Message ) : void

Logs a message to the console

LogAlways ( string format ) : void

Logs a message to the console, regardless of log_verbosity settings

LogError ( string format ) : void

Logs an error to console

LogException ( Exception ex ) : void

Logs an exception message to the console

Useful when exceptions are caught and data is still needed from them

LogStackTrace ( LogType type = LogType.Message ) : void
LogWarning ( string format ) : void

Outputs a warning message

비공개 메소드들

메소드 설명
Debug ( ) : System
UnhandledExceptionOccurred ( object sender, UnhandledExceptionEventArgs e ) : void

메소드 상세

DisplayException() 공개 정적인 메소드

Displays an exception via the CryMono exception form.
public static DisplayException ( Exception ex, bool fatal = false ) : void
ex Exception The exception that occurred
fatal bool Indicates if this exception is fatal
리턴 void

Log() 공개 정적인 메소드

Logs a message to the console
public static Log ( string format, LogType type = LogType.Message ) : void
format string
type LogType
리턴 void

LogAlways() 공개 정적인 메소드

Logs a message to the console, regardless of log_verbosity settings
public static LogAlways ( string format ) : void
format string
리턴 void

LogError() 공개 정적인 메소드

Logs an error to console
public static LogError ( string format ) : void
format string
리턴 void

LogException() 공개 정적인 메소드

Logs an exception message to the console
Useful when exceptions are caught and data is still needed from them
public static LogException ( Exception ex ) : void
ex Exception
리턴 void

LogStackTrace() 공개 정적인 메소드

public static LogStackTrace ( LogType type = LogType.Message ) : void
type LogType
리턴 void

LogWarning() 공개 정적인 메소드

Outputs a warning message
public static LogWarning ( string format ) : void
format string
리턴 void