toolbox.services.util.logging
Class LoggingHelper

Package class diagram package LoggingHelper
java.lang.Object
  extended by toolbox.services.util.logging.LoggingHelper

public class LoggingHelper
extends java.lang.Object

Convenience class that implements various support routines.


Constructor Summary
LoggingHelper(java.lang.String levels)
          Default constructor.
 
Method Summary
 boolean isLoggable(LogMessage message)
          Check to see whether the given LogMessage should be logged.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingHelper

public LoggingHelper(java.lang.String levels)
Default constructor.

Parameters:
levels - CSV string containg the default log levels for individual loggers.
Method Detail

isLoggable

public boolean isLoggable(LogMessage message)
Check to see whether the given LogMessage should be logged.

Parameters:
message - LogMessage to check.
Returns:
boolean indicating that the message should be logged.