org.codehaus.plexus.logging
Class BaseLoggerManager

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLoggerManager
      extended by org.codehaus.plexus.logging.BaseLoggerManager
All Implemented Interfaces:
LoggerManager, Initializable

public abstract class BaseLoggerManager
extends AbstractLoggerManager
implements Initializable


Field Summary
 
Fields inherited from interface org.codehaus.plexus.logging.LoggerManager
ROLE
 
Constructor Summary
BaseLoggerManager()
           
 
Method Summary
protected abstract  Logger createLogger(String name)
           
 int getActiveLoggerCount()
           
 Logger getLoggerForComponent(String role, String hint)
           
 int getThreshold()
           
 void initialize()
           
static int parseThreshold(String text)
           
 void returnComponentLogger(String role, String hint)
           
 void setThreshold(int currentThreshold)
           
 void setThresholds(int currentThreshold)
           
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLoggerManager
getLoggerForComponent, returnComponentLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseLoggerManager

public BaseLoggerManager()
Method Detail

initialize

public final void initialize()
Specified by:
initialize in interface Initializable

getLoggerForComponent

public final Logger getLoggerForComponent(String role,
                                          String hint)
Specified by:
getLoggerForComponent in interface LoggerManager

returnComponentLogger

public final void returnComponentLogger(String role,
                                        String hint)
Specified by:
returnComponentLogger in interface LoggerManager

getThreshold

public final int getThreshold()
Specified by:
getThreshold in interface LoggerManager

setThreshold

public final void setThreshold(int currentThreshold)
Specified by:
setThreshold in interface LoggerManager

setThresholds

public final void setThresholds(int currentThreshold)
Specified by:
setThresholds in interface LoggerManager

parseThreshold

public static final int parseThreshold(String text)

getActiveLoggerCount

public final int getActiveLoggerCount()
Specified by:
getActiveLoggerCount in interface LoggerManager

createLogger

protected abstract Logger createLogger(String name)


Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.