NOPLogger. However, a different delegate can be set at any time.
See also the relevant error code documentation.
| Modifier and Type | Field and Description |
|---|---|
| private volatile Logger | |
| public final boolean | |
| private Boolean | |
| private final Queue | |
| private EventRecordingLogger | |
| private Method | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | SubstituteLogger(String name, Queue<SubstituteLoggingEvent> eventQueue, boolean createdPostInitialization)
|
| Modifier and Type | Method and Description |
|---|---|
| public LoggingEventBuilder | atDebug()
Overrides default org. Entry point for fluent-logging for |
| public LoggingEventBuilder | atError()
Overrides default org. Entry point for fluent-logging for |
| public LoggingEventBuilder | atInfo()
Overrides default org. Entry point for fluent-logging for |
| public LoggingEventBuilder | atLevel(Level level)
Overrides default org. Make a new |
| public LoggingEventBuilder | atTrace()
Overrides default org. Entry point for fluent-logging for |
| public LoggingEventBuilder | atWarn()
Overrides default org. Entry point for fluent-logging for |
| public void | |
| public void | debug(String format, Object arg)
Implements org. Log a message at the DEBUG level according to the specified format and argument. |
| public void | debug(String format, Object arg1, Object arg2)
Implements org. Log a message at the DEBUG level according to the specified format and arguments. |
| public void | debug(String format, Object... arguments)
Implements org. Log a message at the DEBUG level according to the specified format and arguments. |
| public void | debug(String msg, Throwable t)
Implements org. Log an exception (throwable) at the DEBUG level with an accompanying message. |
| public void | debug(Marker marker, String msg)
Implements org. Log a message with the specific Marker at the DEBUG level. |
| public void | debug(Marker marker, String format, Object arg)
Implements org. This method is similar to |
| public void | debug(Marker marker, String format, Object arg1, Object arg2)
Implements org. This method is similar to |
| public void | debug(Marker marker, String format, Object... arguments)
Implements org. This method is similar to |
| public void | debug(Marker marker, String msg, Throwable t)
Implements org. This method is similar to |
| public Logger | |
| public boolean | equals(Object o)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public void | |
| public void | error(String format, Object arg)
Implements org. Log a message at the ERROR level according to the specified format and argument. |
| public void | error(String format, Object arg1, Object arg2)
Implements org. Log a message at the ERROR level according to the specified format and arguments. |
| public void | error(String format, Object... arguments)
Implements org. Log a message at the ERROR level according to the specified format and arguments. |
| public void | error(String msg, Throwable t)
Implements org. Log an exception (throwable) at the ERROR level with an accompanying message. |
| public void | error(Marker marker, String msg)
Implements org. Log a message with the specific Marker at the ERROR level. |
| public void | error(Marker marker, String format, Object arg)
Implements org. This method is similar to |
| public void | error(Marker marker, String format, Object arg1, Object arg2)
Implements org. This method is similar to |
| public void | error(Marker marker, String format, Object... arguments)
Implements org. This method is similar to |
| public void | error(Marker marker, String msg, Throwable t)
Implements org. This method is similar to |
| private Logger | |
| public String | |
| public int | |
| public void | |
| public void | info(String format, Object arg)
Implements org. Log a message at the INFO level according to the specified format and argument. |
| public void | info(String format, Object arg1, Object arg2)
Implements org. Log a message at the INFO level according to the specified format and arguments. |
| public void | info(String format, Object... arguments)
Implements org. Log a message at the INFO level according to the specified format and arguments. |
| public void | info(String msg, Throwable t)
Implements org. Log an exception (throwable) at the INFO level with an accompanying message. |
| public void | info(Marker marker, String msg)
Implements org. Log a message with the specific Marker at the INFO level. |
| public void | info(Marker marker, String format, Object arg)
Implements org. This method is similar to |
| public void | info(Marker marker, String format, Object arg1, Object arg2)
Implements org. This method is similar to |
| public void | info(Marker marker, String format, Object... arguments)
Implements org. This method is similar to |
| public void | info(Marker marker, String msg, Throwable t)
Implements org. This method is similar to |
| public boolean | isDebugEnabled()
Implements org. Is the logger instance enabled for the DEBUG level? |
| public boolean | isDebugEnabled(Marker marker)
Implements org. Similar to |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | isEnabledForLevel(Level level)
Overrides default org. Returns whether this Logger is enabled for a given |
| public boolean | isErrorEnabled()
Implements org. Is the logger instance enabled for the ERROR level? |
| public boolean | isErrorEnabled(Marker marker)
Implements org. Similar to |
| public boolean | isInfoEnabled()
Implements org. Is the logger instance enabled for the INFO level? |
| public boolean | isInfoEnabled(Marker marker)
Implements org. Similar to |
| public boolean | isTraceEnabled()
Implements org. Is the logger instance enabled for the TRACE level? |
| public boolean | isTraceEnabled(Marker marker)
Implements org. Similar to |
| public boolean | isWarnEnabled()
Implements org. Is the logger instance enabled for the WARN level? |
| public boolean | isWarnEnabled(Marker marker)
Implements org. Similar to |
| public void | |
| public LoggingEventBuilder | makeLoggingEventBuilder(Level level)
Overrides default org. Make a new |
| public void | setDelegate(Logger delegate)
Typically called after the |
| public void | |
| public void | trace(String format, Object arg)
Implements org. Log a message at the TRACE level according to the specified format and argument. |
| public void | trace(String format, Object arg1, Object arg2)
Implements org. Log a message at the TRACE level according to the specified format and arguments. |
| public void | trace(String format, Object... arguments)
Implements org. Log a message at the TRACE level according to the specified format and arguments. |
| public void | trace(String msg, Throwable t)
Implements org. Log an exception (throwable) at the TRACE level with an accompanying message. |
| public void | trace(Marker marker, String msg)
Implements org. Log a message with the specific Marker at the TRACE level. |
| public void | trace(Marker marker, String format, Object arg)
Implements org. This method is similar to |
| public void | trace(Marker marker, String format, Object arg1, Object arg2)
Implements org. This method is similar to |
| public void | trace(Marker marker, String format, Object... arguments)
Implements org. This method is similar to |
| public void | trace(Marker marker, String msg, Throwable t)
Implements org. This method is similar to |
| public void | |
| public void | warn(String format, Object arg)
Implements org. Log a message at the WARN level according to the specified format and argument. |
| public void | warn(String format, Object arg1, Object arg2)
Implements org. Log a message at the WARN level according to the specified format and arguments. |
| public void | warn(String format, Object... arguments)
Implements org. Log a message at the WARN level according to the specified format and arguments. |
| public void | warn(String msg, Throwable t)
Implements org. Log an exception (throwable) at the WARN level with an accompanying message. |
| public void | warn(Marker marker, String msg)
Implements org. Log a message with the specific Marker at the WARN level. |
| public void | warn(Marker marker, String format, Object arg)
Implements org. This method is similar to |
| public void | warn(Marker marker, String format, Object arg1, Object arg2)
Implements org. This method is similar to |
| public void | warn(Marker marker, String format, Object... arguments)
Implements org. This method is similar to |
| public void | warn(Marker marker, String msg, Throwable t)
Implements org. This method is similar to |