debug(String) method

Write the given message to a debug log, if debugging is enabled.

Syntax

public final void debug ( String message )

Parameters

Usage

If this is a user-specific session then the message will be written to the user log, otherwise it will be written to the server log.

This method is simply a convenience method that calls User.debug() if the session has a user, or Server.debug() if it doesn't.