at.spardat.xma.boot.logger
Class LogManager

java.lang.Object
  extended byat.spardat.xma.boot.logger.LogManager

public class LogManager
extends java.lang.Object

LogManager


Constructor Summary
protected LogManager()
          It is intended that there only be one LogManager object, whose value is retrieved by calling Logmanager.getLogManager.
 
Method Summary
 boolean addLogger(Logger logger)
           
 java.lang.String getLogFileName()
          Get the fully quallified name of the used logfile.
 Logger getLogger(java.lang.String name)
          Method to find a named logger.
static LogManager getLogManager()
          Return the global LogManager object.
 void notifyLoggers(LogLevel newlevel, boolean notifyHandlers)
           
 void setConfiguration(java.util.Properties in)
          Reinitialize the logging properties and reread the logging configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogManager

protected LogManager()
It is intended that there only be one LogManager object, whose value is retrieved by calling Logmanager.getLogManager.

Method Detail

getLogManager

public static LogManager getLogManager()
Return the global LogManager object.


setConfiguration

public void setConfiguration(java.util.Properties in)
Reinitialize the logging properties and reread the logging configuration.


notifyLoggers

public void notifyLoggers(LogLevel newlevel,
                          boolean notifyHandlers)

addLogger

public boolean addLogger(Logger logger)

getLogger

public Logger getLogger(java.lang.String name)
Method to find a named logger.

Parameters:
name - name of the logger
Returns:
matching logger or null if none is found

getLogFileName

public java.lang.String getLogFileName()
Get the fully quallified name of the used logfile. If no logfile is used, this method returns null.

Since:
1.6.0