public class Slf4jLoggerManager
extends org.codehaus.plexus.logging.AbstractLoggerManager
Modifier and Type | Class and Description |
---|---|
static class |
Slf4jLoggerManager.LoggerImpl
Adapts the Plexus
Logger interface to SLF4J |
Constructor and Description |
---|
Slf4jLoggerManager() |
Modifier and Type | Method and Description |
---|---|
protected org.codehaus.plexus.logging.Logger |
createLogger(String key) |
int |
getActiveLoggerCount() |
org.codehaus.plexus.logging.Logger |
getLoggerForComponent(String role,
String roleHint) |
int |
getThreshold() |
int |
getThreshold(String role,
String roleHint) |
void |
returnComponentLogger(String role,
String roleHint) |
void |
setThreshold(int threshold) |
void |
setThreshold(String role,
String roleHint,
int threshold) |
void |
setThresholds(int threshold) |
protected String |
toMapKey(String role,
String roleHint) |
protected org.codehaus.plexus.logging.Logger createLogger(String key)
public org.codehaus.plexus.logging.Logger getLoggerForComponent(String role, String roleHint)
protected String toMapKey(String role, String roleHint)
toMapKey
in class org.codehaus.plexus.logging.AbstractLoggerManager
public void setThreshold(int threshold)
public int getThreshold()
public void setThresholds(int threshold)
public int getActiveLoggerCount()
Copyright © 2008-2013 Sonatype. All Rights Reserved.