Gets or sets a debug level.

Syntax

JavaScript

$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.
3Show errors, debug messages from Image Uploader, and information messages.

Default value is 0.