Package | away3dlite.core.utils |
Class | public class Debug |
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(... agrs):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 = false
Determines whether debug mode is active. Defaults to false.
warningsAsErrors | property |
public static var warningsAsErrors:Boolean = false
Determines whether warning messages are treated as errors. Defaults to false.
error | () | method |
public static function error(message:Object):void
Traces an error message to the output window and throws a runtime error.
Parametersmessage:Object — The error message to trace.
|
trace | () | method |
public static function trace(... agrs):void
Traces a message to the output window.
Parameters... agrs — The message to trace.
|
warning | () | method |
public static function warning(message:Object):void
Traces a warning message to the output window. If the warningsAsErrors property is set to true, a runtime error is thrown.
Parametersmessage:Object — The warning message to trace.
|
See also