Package org.codehaus.plexus.logging
Class AbstractLogger
java.lang.Object
org.codehaus.plexus.logging.AbstractLogger
- All Implemented Interfaces:
Logger
- Direct Known Subclasses:
ConsoleLogger
- Author:
- Trygve Laugstøl
-
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 TypeMethodDescriptionvoidvoidvoidfatalError(String message) getName()intvoidbooleanbooleanbooleanbooleanprotected booleanisValidThreshold(int threshold) booleanvoidsetThreshold(int threshold) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.codehaus.plexus.logging.Logger
debug, error, fatalError, getChildLogger, info, warn
-
Constructor Details
-
AbstractLogger
-
-
Method Details
-
getThreshold
public int getThreshold()- Specified by:
getThresholdin interfaceLogger
-
setThreshold
public void setThreshold(int threshold) - Specified by:
setThresholdin interfaceLogger
-
getName
-
debug
-
isDebugEnabled
public boolean isDebugEnabled()- Specified by:
isDebugEnabledin interfaceLogger
-
info
-
isInfoEnabled
public boolean isInfoEnabled()- Specified by:
isInfoEnabledin interfaceLogger
-
warn
-
isWarnEnabled
public boolean isWarnEnabled()- Specified by:
isWarnEnabledin interfaceLogger
-
error
-
isErrorEnabled
public boolean isErrorEnabled()- Specified by:
isErrorEnabledin interfaceLogger
-
fatalError
- Specified by:
fatalErrorin interfaceLogger
-
isFatalErrorEnabled
public boolean isFatalErrorEnabled()- Specified by:
isFatalErrorEnabledin interfaceLogger
-
isValidThreshold
protected boolean isValidThreshold(int threshold)
-