Package org.apache.maven.slf4j
Class DefaultLogLevelRecorder
java.lang.Object
org.apache.maven.slf4j.DefaultLogLevelRecorder
- All Implemented Interfaces:
LogLevelRecorder
Responsible for keeping state of whether the threshold of the --fail-on-severity flag has been hit.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.maven.logging.api.LogLevelRecorder
LogLevelRecorder.Level
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DefaultLogLevelRecorder
public DefaultLogLevelRecorder()
-
-
Method Details
-
hasReachedMaxLevel
public boolean hasReachedMaxLevel()- Specified by:
hasReachedMaxLevel
in interfaceLogLevelRecorder
-
getMaxLevelReached
- Specified by:
getMaxLevelReached
in interfaceLogLevelRecorder
-
getMaxLevelAllowed
- Specified by:
getMaxLevelAllowed
in interfaceLogLevelRecorder
-
setMaxLevelAllowed
- Specified by:
setMaxLevelAllowed
in interfaceLogLevelRecorder
-
reset
public void reset()- Specified by:
reset
in interfaceLogLevelRecorder
-
record
public void record(org.slf4j.event.Level logLevel) -
metThreshold
public boolean metThreshold()
-