public abstract class AbstractLogger extends Object implements Logger
LEVEL_DEBUG, LEVEL_DISABLED, LEVEL_ERROR, LEVEL_FATAL, LEVEL_INFO, LEVEL_WARN| Constructor and Description |
|---|
AbstractLogger(int threshold,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
debug(String message) |
void |
error(String message) |
void |
fatalError(String message) |
String |
getName() |
int |
getThreshold() |
void |
info(String message) |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isFatalErrorEnabled() |
boolean |
isInfoEnabled() |
protected boolean |
isValidThreshold(int threshold) |
boolean |
isWarnEnabled() |
void |
setThreshold(int threshold) |
void |
warn(String message) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdebug, error, fatalError, getChildLogger, info, warnpublic AbstractLogger(int threshold,
String name)
public int getThreshold()
getThreshold in interface Loggerpublic void setThreshold(int threshold)
setThreshold in interface Loggerpublic boolean isDebugEnabled()
isDebugEnabled in interface Loggerpublic boolean isInfoEnabled()
isInfoEnabled in interface Loggerpublic boolean isWarnEnabled()
isWarnEnabled in interface Loggerpublic boolean isErrorEnabled()
isErrorEnabled in interface Loggerpublic void fatalError(String message)
fatalError in interface Loggerpublic boolean isFatalErrorEnabled()
isFatalErrorEnabled in interface Loggerprotected boolean isValidThreshold(int threshold)
Copyright © 2001–2019 Codehaus Plexus. All rights reserved.