The Logger class provides the ability to log messages to the quarantine log. The
log messages are preceded by "SCRIPT:", except for
trace, which is preceded by "SCRIPT TRACE:". This object is available to all scripts.
Properties
There are no Logger properties accessible from JavaScript.
Methods
| Return Value | Name | Description |
| void | debug( String message ) | Sends a DEBUG level message to the log file. |
| void | error( String message ) | Sends an ERROR level message to the log file. |
| void | info( String message ) | Sends an INFO level message to the log file. |
| void | trace( String message ) | Sends a DEBUG level message to the log file. |
| void | warn( String message ) | Sends a WARNING level message to the log file. |
Sample usage
logger.trace( “logging a message” );
