| Package | away3dlite.core.utils |
| Class | public class Debug |
| Inheritance | Debug Object |
| Property | Defined By | ||
|---|---|---|---|
| active : Boolean = false [static]
Determines whether debug mode is active. | Debug | ||
| warningsAsErrors : Boolean = false [static]
Determines whether warning messages are treated as errors. | Debug | ||
| Method | Defined By | ||
|---|---|---|---|
error(message:Object):void [static]
Traces an error message to the output window and throws a runtime error. | Debug | ||
trace(message:Object):void [static]
Traces a message to the output window. | Debug | ||
warning(message:Object):void [static]
Traces a warning message to the output window. | Debug | ||
| active | property |
public static var active:Boolean = falseDetermines whether debug mode is active. Defaults to false.
| warningsAsErrors | property |
public static var warningsAsErrors:Boolean = falseDetermines whether warning messages are treated as errors. Defaults to false.
| error | () | method |
public static function error(message:Object):voidTraces an error message to the output window and throws a runtime error.
Parameters
message:Object — The error message to trace.
|
| trace | () | method |
public static function trace(message:Object):voidTraces a message to the output window.
Parameters
message:Object — The message to trace.
|
| warning | () | method |
public static function warning(message:Object):voidTraces a warning message to the output window. If the warningsAsErrors property is set to true, a runtime error is thrown.
Parameters
message:Object — The warning message to trace.
|
See also