C# Class NG.AssertDebug.NGDebug

Replacement for Unity's debug so we can just shut it off for production. Is not executed if not running in the editor and not a debug build.
Afficher le fichier Open project: Naphier/NGTools

Méthodes publiques

Méthode Description
Log ( object message ) : void
Log ( object message, Object context ) : void
LogError ( object message ) : void
LogError ( object message, Object context ) : void
LogWarning ( object message ) : void
LogWarning ( object message, Object context ) : void

Private Methods

Méthode Description
RegisterLogCallBack ( ) : void
ShouldExecute ( ) : bool

Method Details

Log() public static méthode

public static Log ( object message ) : void
message object
Résultat void

Log() public static méthode

public static Log ( object message, Object context ) : void
message object
context Object
Résultat void

LogError() public static méthode

public static LogError ( object message ) : void
message object
Résultat void

LogError() public static méthode

public static LogError ( object message, Object context ) : void
message object
context Object
Résultat void

LogWarning() public static méthode

public static LogWarning ( object message ) : void
message object
Résultat void

LogWarning() public static méthode

public static LogWarning ( object message, Object context ) : void
message object
context Object
Résultat void