debug(String) method

Writes a debug message to the Agentry Server's Java System Connection log file.

Syntax

public final void debug ( String serverMessage )

Parameters

Usage

This message will only appear in the log file if debug logging is turned on for the Java system connection.

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.