public class Slf4jLogger extends Object implements org.codehaus.plexus.logging.Logger
Constructor and Description |
---|
Slf4jLogger(org.slf4j.Logger logger) |
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)
Warning: ignored (always return
null ). |
String |
getName() |
int |
getThreshold()
Warning: ignored (always return
0 == Logger.LEVEL_DEBUG ). |
void |
info(String message) |
void |
info(String message,
Throwable throwable) |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isFatalErrorEnabled() |
boolean |
isInfoEnabled() |
boolean |
isWarnEnabled() |
void |
setThreshold(int threshold)
Warning: ignored.
|
void |
warn(String message) |
void |
warn(String message,
Throwable throwable) |
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 boolean isDebugEnabled()
isDebugEnabled
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 isInfoEnabled()
isInfoEnabled
in interface org.codehaus.plexus.logging.Logger
public void warn(String message)
warn
in interface org.codehaus.plexus.logging.Logger
public void warn(String message, Throwable throwable)
warn
in interface org.codehaus.plexus.logging.Logger
public boolean isWarnEnabled()
isWarnEnabled
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 boolean isErrorEnabled()
isErrorEnabled
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 boolean isFatalErrorEnabled()
isFatalErrorEnabled
in interface org.codehaus.plexus.logging.Logger
public int getThreshold()
0 == Logger.LEVEL_DEBUG
).getThreshold
in interface org.codehaus.plexus.logging.Logger
public void setThreshold(int threshold)
setThreshold
in interface org.codehaus.plexus.logging.Logger
public org.codehaus.plexus.logging.Logger getChildLogger(String name)
null
).getChildLogger
in interface org.codehaus.plexus.logging.Logger
public String getName()
getName
in interface org.codehaus.plexus.logging.Logger
Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.