C# Class CryEngine.Debug

Contains methods useful for tracking down bugs.
Afficher le fichier Open project: PoppermostProductions/CryMono

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
Debug ( ) : System
UnhandledExceptionOccurred ( object sender, UnhandledExceptionEventArgs e ) : void

Method Details

DisplayException() public static méthode

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
Résultat void

Log() public static méthode

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

LogAlways() public static méthode

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

LogError() public static méthode

Logs an error to console
public static LogError ( string format ) : void
format string
Résultat void

LogException() public static méthode

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
Résultat void

LogStackTrace() public static méthode

public static LogStackTrace ( LogType type = LogType.Message ) : void
type LogType
Résultat void

LogWarning() public static méthode

Outputs a warning message
public static LogWarning ( string format ) : void
format string
Résultat void