Package org.codehaus.plexus.logging
Interface Logger
-
- All Known Implementing Classes:
AbstractLogger
,ConsoleLogger
public interface Logger
-
-
Field Summary
Fields Modifier and Type Field Description static int
LEVEL_DEBUG
static int
LEVEL_DISABLED
static int
LEVEL_ERROR
static int
LEVEL_FATAL
static int
LEVEL_INFO
static int
LEVEL_WARN
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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)
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)
-
-
-
Field Detail
-
LEVEL_DEBUG
static final int LEVEL_DEBUG
- See Also:
- Constant Field Values
-
LEVEL_INFO
static final int LEVEL_INFO
- See Also:
- Constant Field Values
-
LEVEL_WARN
static final int LEVEL_WARN
- See Also:
- Constant Field Values
-
LEVEL_ERROR
static final int LEVEL_ERROR
- See Also:
- Constant Field Values
-
LEVEL_FATAL
static final int LEVEL_FATAL
- See Also:
- Constant Field Values
-
LEVEL_DISABLED
static final int LEVEL_DISABLED
- See Also:
- Constant Field Values
-
-
Method Detail
-
debug
void debug(String message)
-
isDebugEnabled
boolean isDebugEnabled()
-
info
void info(String message)
-
isInfoEnabled
boolean isInfoEnabled()
-
warn
void warn(String message)
-
isWarnEnabled
boolean isWarnEnabled()
-
error
void error(String message)
-
isErrorEnabled
boolean isErrorEnabled()
-
fatalError
void fatalError(String message)
-
isFatalErrorEnabled
boolean isFatalErrorEnabled()
-
getThreshold
int getThreshold()
-
setThreshold
void setThreshold(int threshold)
-
getName
String getName()
-
-