soaprmi.util.logging
Class LogManager
java.lang.Object
soaprmi.util.logging.LogManager
- public class LogManager
- extends java.lang.Object
Class that manages loggers
- Version:
- $Revision: 1.11 $ $Date: 2003/04/06 00:04:04 $ (GMT)
- Author:
- Aleksander Slominski [http://www.extreme.indiana.edu/~aslom]
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getLogManager
public static LogManager getLogManager()
addLogger
public boolean addLogger(Logger l)
getLevel
public Level getLevel(java.lang.String name)
getLogger
public Logger getLogger(java.lang.String name)
getLoggerNames
public java.util.Enumeration getLoggerNames()
setLevel
public void setLevel(java.lang.String name,
Level level)
- Set a log level for a given set of loggers.
Subsequently the target loggers will only log messages whose
types are greater than or equal to the given level.
The level value Level.OFF can be used to turn off logging.
The given log level applies to the named Logger (if it exists), and
on any other named Loggers below that name in the naming hierarchy.
The name and level are recorded, and will be applied to any
new Loggers that are later created matching the given name.
toString
public java.lang.String toString()
Copyright (c) 2004 IU Extreme! Lab http://www.extreme.indiana.edu/ All Rights Reserved.