Gets or sets a debug level.

Syntax

JavaScript

Initialize

$au.debug({
    //...other params...
    level: 0,
    //...other params...
})

Get/Set Value at Runtime

$au.debug().level(value);
value = $au.debug().level();

Property Value

Type: Number

The debug level. The following values are supported:

ValueDescription
0Show no messages at all.
1Show errors only.
2Show errors and debug messages from Image Uploader Flash.
3Show errors, debug messages from Image Uploader Flash, and information messages.

Default value is 0.