Package org.slf4j.impl
Class MavenFailOnSeverityLogger
java.lang.Object
org.slf4j.helpers.MarkerIgnoringBase
org.slf4j.impl.SimpleLogger
org.slf4j.impl.MavenSimpleLogger
org.slf4j.impl.MavenFailOnSeverityLogger
- All Implemented Interfaces:
- Serializable,- Logger
A proxy which enhances the MavenSimpleLogger with functionality to track whether a logging threshold is hit.
 Currently only support WARN and ERROR states, since it's been used for the --fail-on-severity flag.
- See Also:
- 
Field SummaryFieldsFields inherited from class org.slf4j.impl.SimpleLoggerCACHE_OUTPUT_STREAM_STRING_KEY, currentLogLevel, DATE_TIME_FORMAT_KEY, DEFAULT_LOG_LEVEL_KEY, LEVEL_IN_BRACKETS_KEY, LOG_FILE_KEY, LOG_KEY_PREFIX, LOG_LEVEL_DEBUG, LOG_LEVEL_ERROR, LOG_LEVEL_INFO, LOG_LEVEL_OFF, LOG_LEVEL_TRACE, LOG_LEVEL_WARN, SHOW_DATE_TIME_KEY, SHOW_LOG_NAME_KEY, SHOW_SHORT_LOG_NAME_KEY, SHOW_THREAD_ID_KEY, SHOW_THREAD_NAME_KEY, SYSTEM_PREFIX, WARN_LEVEL_STRING_KEYFields inherited from interface org.slf4j.LoggerROOT_LOGGER_NAME
- 
Method SummaryModifier and TypeMethodDescriptionvoidA simple implementation which always logs messages of level ERROR according to the format outlined above.voidPerform single parameter substitution before logging the message of level ERROR according to the format outlined above.voidPerform double parameter substitution before logging the message of level ERROR according to the format outlined above.voidPerform double parameter substitution before logging the message of level ERROR according to the format outlined above.voidLog a message of level ERROR, including an exception.getName()protected ObjectvoidA simple implementation which always logs messages of level WARN according to the format outlined above.voidPerform single parameter substitution before logging the message of level WARN according to the format outlined above.voidPerform double parameter substitution before logging the message of level WARN according to the format outlined above.voidPerform double parameter substitution before logging the message of level WARN according to the format outlined above.voidLog a message of level WARN, including an exception.Methods inherited from class org.slf4j.impl.MavenSimpleLoggergetLocation, renderLevel, writeThrowableMethods inherited from class org.slf4j.impl.SimpleLoggerdebug, debug, debug, debug, debug, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isLevelEnabled, isTraceEnabled, isWarnEnabled, log, trace, trace, trace, trace, traceMethods inherited from class org.slf4j.helpers.MarkerIgnoringBasedebug, debug, debug, debug, debug, error, error, error, error, error, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, toString, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn
- 
Field Details- 
name
 
- 
- 
Method Details- 
warnA simple implementation which always logs messages of level WARN according to the format outlined above.- Specified by:
- warnin interface- Logger
- Overrides:
- warnin class- SimpleLogger
 
- 
warnPerform single parameter substitution before logging the message of level WARN according to the format outlined above.- Specified by:
- warnin interface- Logger
- Overrides:
- warnin class- SimpleLogger
 
- 
warnPerform double parameter substitution before logging the message of level WARN according to the format outlined above.- Specified by:
- warnin interface- Logger
- Overrides:
- warnin class- SimpleLogger
 
- 
warnPerform double parameter substitution before logging the message of level WARN according to the format outlined above.- Specified by:
- warnin interface- Logger
- Overrides:
- warnin class- SimpleLogger
 
- 
warnLog a message of level WARN, including an exception.- Specified by:
- warnin interface- Logger
- Overrides:
- warnin class- SimpleLogger
 
- 
errorA simple implementation which always logs messages of level ERROR according to the format outlined above.- Specified by:
- errorin interface- Logger
- Overrides:
- errorin class- SimpleLogger
 
- 
errorPerform single parameter substitution before logging the message of level ERROR according to the format outlined above.- Specified by:
- errorin interface- Logger
- Overrides:
- errorin class- SimpleLogger
 
- 
errorPerform double parameter substitution before logging the message of level ERROR according to the format outlined above.- Specified by:
- errorin interface- Logger
- Overrides:
- errorin class- SimpleLogger
 
- 
errorPerform double parameter substitution before logging the message of level ERROR according to the format outlined above.- Specified by:
- errorin interface- Logger
- Overrides:
- errorin class- SimpleLogger
 
- 
errorLog a message of level ERROR, including an exception.- Specified by:
- errorin interface- Logger
- Overrides:
- errorin class- SimpleLogger
 
- 
getName
- 
readResolve- Throws:
- ObjectStreamException
 
 
-