public final class JDK14LoggerAdapter extends LegacyAbstractLogger implements LocationAwareLogger
java.util.logging.Logger
in
conformity with the Logger
interface. Note that the logging levels
mentioned in this class refer to those defined in the java.util.logging
package.name
DEBUG_INT, ERROR_INT, INFO_INT, TRACE_INT, WARN_INT
ROOT_LOGGER_NAME
Modifier and Type | Method and Description |
---|---|
protected String |
getFullyQualifiedCallerName() |
protected void |
handleNormalizedLoggingCall(Level level,
Marker marker,
String msg,
Object[] args,
Throwable throwable)
Log the message at the specified level with the specified throwable if any.
|
boolean |
isDebugEnabled()
Is this logger instance enabled for the FINE level?
|
boolean |
isErrorEnabled()
Is this logger instance enabled for level SEVERE?
|
boolean |
isInfoEnabled()
Is this logger instance enabled for the INFO level?
|
boolean |
isTraceEnabled()
Is this logger instance enabled for the FINEST level?
|
boolean |
isWarnEnabled()
Is this logger instance enabled for the WARNING level?
|
void |
log(LoggingEvent event) |
void |
log(Marker marker,
String callerFQCN,
int slf4jLevelInt,
String message,
Object[] arguments,
Throwable throwable)
Printing method with support for location information.
|
isDebugEnabled, isErrorEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled
debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, error, error, error, error, error, error, error, error, error, error, getName, info, info, info, info, info, info, info, info, info, info, readResolve, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
atDebug, atError, atInfo, atLevel, atTrace, atWarn, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, error, error, error, error, error, error, error, error, error, error, getName, info, info, info, info, info, info, info, info, info, info, isDebugEnabled, isEnabledForLevel, isErrorEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, makeLoggingEventBuilder, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn
public boolean isTraceEnabled()
isTraceEnabled
in interface Logger
public boolean isDebugEnabled()
isDebugEnabled
in interface Logger
public boolean isInfoEnabled()
isInfoEnabled
in interface Logger
public boolean isWarnEnabled()
isWarnEnabled
in interface Logger
public boolean isErrorEnabled()
isErrorEnabled
in interface Logger
protected void handleNormalizedLoggingCall(Level level, Marker marker, String msg, Object[] args, Throwable throwable)
handleNormalizedLoggingCall
in class AbstractLogger
protected String getFullyQualifiedCallerName()
getFullyQualifiedCallerName
in class AbstractLogger
public void log(Marker marker, String callerFQCN, int slf4jLevelInt, String message, Object[] arguments, Throwable throwable)
LocationAwareLogger
log
in interface LocationAwareLogger
marker
- The marker to be used for this event, may be null.callerFQCN
- The fully qualified class name of the logger instance,
typically the logger class, logger bridge or a logger wrapper.slf4jLevelInt
- One of the level integers defined in this interfacemessage
- The message for the log eventthrowable
- Throwable associated with the log event, may be null.public void log(LoggingEvent event)
Copyright © 2005–2022 QOS.ch. All rights reserved.