RestCallLogger@Deprecated public class NoOpRestLogger extends BasicRestLogger
Disables logging entirely.
RestLogger.Null| Constructor and Description |
|---|
NoOpRestLogger()
Deprecated.
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
log(Level level,
Throwable cause,
String msg,
Object... args)
Deprecated.
Log a message to the logger.
|
getLogger, getLoggerName, log, logObjects, onError, setLevel, shouldLog, shouldLogStackTracepublic NoOpRestLogger()
public void log(Level level, Throwable cause, String msg, Object... args)
Subclasses can override this method if they wish to log messages using a library other than Java Logging (e.g. Apache Commons Logging).
log in interface RestLoggerlog in class BasicRestLoggerlevel - The log level.cause - The cause.msg - The message to log.args - Optional MessageFormat-style arguments.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.