Package org.codehaus.plexus.logging
Class AbstractLogger
java.lang.Object
org.codehaus.plexus.logging.AbstractLogger
- All Implemented Interfaces:
Logger
- Direct Known Subclasses:
ConsoleLogger
-
Field Summary
Fields inherited from interface org.codehaus.plexus.logging.Logger
LEVEL_DEBUG, LEVEL_DISABLED, LEVEL_ERROR, LEVEL_FATAL, LEVEL_INFO, LEVEL_WARN
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
final void
final void
fatalError
(String message) final String
getName()
final int
final void
boolean
boolean
boolean
boolean
boolean
final void
setThreshold
(int threshold) final void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.codehaus.plexus.logging.Logger
debug, error, fatalError, getChildLogger, info, warn
-
Constructor Details
-
AbstractLogger
-
-
Method Details
-
debug
-
isDebugEnabled
public boolean isDebugEnabled()- Specified by:
isDebugEnabled
in interfaceLogger
-
info
-
isInfoEnabled
public boolean isInfoEnabled()- Specified by:
isInfoEnabled
in interfaceLogger
-
warn
-
isWarnEnabled
public boolean isWarnEnabled()- Specified by:
isWarnEnabled
in interfaceLogger
-
error
-
isErrorEnabled
public boolean isErrorEnabled()- Specified by:
isErrorEnabled
in interfaceLogger
-
fatalError
- Specified by:
fatalError
in interfaceLogger
-
isFatalErrorEnabled
public boolean isFatalErrorEnabled()- Specified by:
isFatalErrorEnabled
in interfaceLogger
-
getThreshold
public final int getThreshold()- Specified by:
getThreshold
in interfaceLogger
-
setThreshold
public final void setThreshold(int threshold) - Specified by:
setThreshold
in interfaceLogger
-
getName
-