internalInformationPort
Class LogFileGenerator

java.lang.Object
  extended by internalInformationPort.LogFileGenerator

final class LogFileGenerator
extends java.lang.Object

Logs and/or displays messages depending on the message's Level, this logger's DISPLAY_LEVEL and this logger's LOG_LEVEL (which are defined in the property file).

For a detailed explanation of the different levels see http://java.sun.com/j2se/1.4.2/docs/api/java/util/logging/Level.html .

Author:
Karl-Peter Fuchs

Method Summary
protected static java.util.logging.Logger getLogger()
          Returns the Logger used by this class.
protected static void log(java.util.logging.Level level, java.lang.String message)
          Logs/displays the bypassed message if the bypassed Level is higher than this logger's level(s) (displayLevel and logLevel).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLogger

protected static java.util.logging.Logger getLogger()
Returns the Logger used by this class.

Returns:
Logger used by this class.

log

protected static void log(java.util.logging.Level level,
                          java.lang.String message)
Logs/displays the bypassed message if the bypassed Level is higher than this logger's level(s) (displayLevel and logLevel).

Parameters:
level - Level of the bypassed message.
message - The message to be logged/displayed.