debug(String) method

Writes a debugging message to the user's log file on the Agentry server.

Syntax

public final void debug ( String userMessage )

Parameters

Usage

This will only work if per-user logging is turned on in AgentryLogging.ini.

This method is a convenience method that calls into the Java Logging API to do the actual logging, and assumes that Agentry's default Java Logging configuration is in place (which will route log messages back to the Agentry server). It will log to a logger named "com.syclo.agentry.Server", at the FINE level (which translates to log detail level 3 in Agentry).

When invoked outside of Agentry (e.g. in unit tests), this will log to the console, as that is Java's normal default logging configuration.