public class MavenFailOnSeverityLogger extends MavenSimpleLogger
| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
CACHE_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_KEY| Modifier and Type | Method and Description |
|---|---|
void |
error(String msg)
A simple implementation which always logs messages of level ERROR
according to the format outlined above.
|
void |
error(String format,
Object... argArray)
Perform double parameter substitution before logging the message of level
ERROR according to the format outlined above.
|
void |
error(String format,
Object arg)
Perform single parameter substitution before logging the message of level
ERROR according to the format outlined above.
|
void |
error(String format,
Object arg1,
Object arg2)
Perform double parameter substitution before logging the message of level
ERROR according to the format outlined above.
|
void |
error(String msg,
Throwable t)
Log a message of level ERROR, including an exception.
|
protected Object |
readResolve() |
void |
warn(String msg)
A simple implementation which always logs messages of level WARN
according to the format outlined above.
|
void |
warn(String format,
Object... argArray)
Perform double parameter substitution before logging the message of level
WARN according to the format outlined above.
|
void |
warn(String format,
Object arg)
Perform single parameter substitution before logging the message of level
WARN according to the format outlined above.
|
void |
warn(String format,
Object arg1,
Object arg2)
Perform double parameter substitution before logging the message of level
WARN according to the format outlined above.
|
void |
warn(String msg,
Throwable t)
Log a message of level WARN, including an exception.
|
getLocation, renderLevel, writeThrowabledebug, debug, debug, debug, debug, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isLevelEnabled, isTraceEnabled, isWarnEnabled, log, trace, trace, trace, trace, tracedebug, 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, warnprotected String name
public void warn(String msg)
warn in interface org.slf4j.Loggerwarn in class SimpleLoggerpublic void warn(String format, Object arg)
warn in interface org.slf4j.Loggerwarn in class SimpleLoggerpublic void warn(String format, Object arg1, Object arg2)
warn in interface org.slf4j.Loggerwarn in class SimpleLoggerpublic void warn(String format, Object... argArray)
warn in interface org.slf4j.Loggerwarn in class SimpleLoggerpublic void warn(String msg, Throwable t)
warn in interface org.slf4j.Loggerwarn in class SimpleLoggerpublic void error(String msg)
error in interface org.slf4j.Loggererror in class SimpleLoggerpublic void error(String format, Object arg)
error in interface org.slf4j.Loggererror in class SimpleLoggerpublic void error(String format, Object arg1, Object arg2)
error in interface org.slf4j.Loggererror in class SimpleLoggerpublic void error(String format, Object... argArray)
error in interface org.slf4j.Loggererror in class SimpleLoggerpublic void error(String msg, Throwable t)
error in interface org.slf4j.Loggererror in class SimpleLoggerprotected Object readResolve() throws ObjectStreamException
ObjectStreamExceptionCopyright © 2001–2022 The Apache Software Foundation. All rights reserved.