xsul
Class MLogger.LogManager

java.lang.Object
  extended byxsul.MLogger.LogManager
Enclosing class:
MLogger

public static class MLogger.LogManager
extends java.lang.Object


Method Summary
 boolean addLogger(MLogger l)
           
 MLogger.Level getLevel(java.lang.String name)
           
 MLogger getLogger(java.lang.String name)
           
 java.util.Enumeration getLoggerNames()
           
static MLogger.LogManager getLogManager()
           
 void setLevel(java.lang.String name, MLogger.Level level)
          Set a log level for a given set of loggers.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getLogManager

public static MLogger.LogManager getLogManager()

addLogger

public boolean addLogger(MLogger l)

getLevel

public MLogger.Level getLevel(java.lang.String name)

getLogger

public MLogger getLogger(java.lang.String name)

getLoggerNames

public java.util.Enumeration getLoggerNames()

setLevel

public void setLevel(java.lang.String name,
                     MLogger.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()


IU Extreme! Lab (http://www.extreme.indiana.edu)