public class Slf4JPlexusLogger extends Object implements org.codehaus.plexus.logging.Logger
Modifier and Type | Field and Description |
---|---|
private org.slf4j.Logger |
log |
Constructor and Description |
---|
Slf4JPlexusLogger(Class<?> clazz) |
Slf4JPlexusLogger(String name) |
Modifier and Type | Method and Description |
---|---|
void |
debug(String message) |
void |
debug(String message,
Throwable throwable) |
void |
error(String message) |
void |
error(String message,
Throwable throwable) |
void |
fatalError(String message) |
void |
fatalError(String message,
Throwable throwable) |
org.codehaus.plexus.logging.Logger |
getChildLogger(String name) |
String |
getName() |
int |
getThreshold() |
void |
info(String message) |
void |
info(String message,
Throwable throwable) |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isFatalErrorEnabled() |
boolean |
isInfoEnabled() |
boolean |
isWarnEnabled() |
void |
setThreshold(int threshold) |
void |
warn(String message) |
void |
warn(String message,
Throwable throwable) |
private final org.slf4j.Logger log
public Slf4JPlexusLogger(Class<?> clazz)
public Slf4JPlexusLogger(String name)
public void debug(String message)
debug
in interface org.codehaus.plexus.logging.Logger
public void debug(String message, Throwable throwable)
debug
in interface org.codehaus.plexus.logging.Logger
public void error(String message)
error
in interface org.codehaus.plexus.logging.Logger
public void error(String message, Throwable throwable)
error
in interface org.codehaus.plexus.logging.Logger
public void fatalError(String message)
fatalError
in interface org.codehaus.plexus.logging.Logger
public void fatalError(String message, Throwable throwable)
fatalError
in interface org.codehaus.plexus.logging.Logger
public org.codehaus.plexus.logging.Logger getChildLogger(String name)
getChildLogger
in interface org.codehaus.plexus.logging.Logger
public String getName()
getName
in interface org.codehaus.plexus.logging.Logger
public int getThreshold()
getThreshold
in interface org.codehaus.plexus.logging.Logger
public void info(String message)
info
in interface org.codehaus.plexus.logging.Logger
public void info(String message, Throwable throwable)
info
in interface org.codehaus.plexus.logging.Logger
public boolean isDebugEnabled()
isDebugEnabled
in interface org.codehaus.plexus.logging.Logger
public boolean isErrorEnabled()
isErrorEnabled
in interface org.codehaus.plexus.logging.Logger
public boolean isFatalErrorEnabled()
isFatalErrorEnabled
in interface org.codehaus.plexus.logging.Logger
public boolean isInfoEnabled()
isInfoEnabled
in interface org.codehaus.plexus.logging.Logger
public boolean isWarnEnabled()
isWarnEnabled
in interface org.codehaus.plexus.logging.Logger
public void setThreshold(int threshold)
setThreshold
in interface org.codehaus.plexus.logging.Logger
public void warn(String message)
warn
in interface org.codehaus.plexus.logging.Logger
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.