HxGN EAM uses the standard log4j logging mechanism. The DSTMLogger class used in the sample is a thin wrapper around log4j.
See the Javadocs for the methods available in the DSTMLogger class. The log4j configuration file can be modified to log information from the custom classes.