Class JettyLogger
java.lang.Object
org.apache.juneau.microservice.jetty.JettyLogger
- All Implemented Interfaces:
org.slf4j.Logger
,org.slf4j.spi.LocationAwareLogger
Implementation of Jetty
Logger
based on Logger
.
Allows Jetty to log to the Java Util logging framework (and thus to the main log file defined in the
Can be used by setting the following system property in the microservice config file.
See Also:
-
Field Summary
Fields inherited from interface org.slf4j.spi.LocationAwareLogger
DEBUG_INT, ERROR_INT, INFO_INT, TRACE_INT, WARN_INT
Fields inherited from interface org.slf4j.Logger
ROOT_LOGGER_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
getName()
void
void
void
void
void
void
void
void
void
void
void
void
boolean
boolean
isDebugEnabled
(org.slf4j.Marker marker) boolean
boolean
isErrorEnabled
(org.slf4j.Marker marker) boolean
boolean
isInfoEnabled
(org.slf4j.Marker marker) boolean
boolean
isTraceEnabled
(org.slf4j.Marker marker) boolean
boolean
isWarnEnabled
(org.slf4j.Marker marker) void
log
(org.slf4j.Marker marker, String fqcn, int level, String message, Object[] argArray, Throwable t) void
setDebugEnabled
(boolean enabled) void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.slf4j.Logger
atDebug, atError, atInfo, atLevel, atTrace, atWarn, isEnabledForLevel, makeLoggingEventBuilder
-
Constructor Details
-
JettyLogger
public JettyLogger()Default constructor.Returns the logger with name
"org.eclipse.jetty.util.log.javautil" . -
JettyLogger
Normal constructor.- Parameters:
name
- The logger name.
-
-
Method Details
-
getLogger
-
getName
- Specified by:
getName
in interfaceorg.slf4j.Logger
-
warn
- Specified by:
warn
in interfaceorg.slf4j.Logger
-
warn
-
warn
- Specified by:
warn
in interfaceorg.slf4j.Logger
-
info
- Specified by:
info
in interfaceorg.slf4j.Logger
-
info
-
info
- Specified by:
info
in interfaceorg.slf4j.Logger
-
isDebugEnabled
- Specified by:
isDebugEnabled
in interfaceorg.slf4j.Logger
-
setDebugEnabled
-
debug
- Specified by:
debug
in interfaceorg.slf4j.Logger
-
debug
-
debug
-
debug
- Specified by:
debug
in interfaceorg.slf4j.Logger
-
ignore
-
isTraceEnabled
- Specified by:
isTraceEnabled
in interfaceorg.slf4j.Logger
-
trace
- Specified by:
trace
in interfaceorg.slf4j.Logger
-
trace
- Specified by:
trace
in interfaceorg.slf4j.Logger
-
trace
- Specified by:
trace
in interfaceorg.slf4j.Logger
-
trace
- Specified by:
trace
in interfaceorg.slf4j.Logger
-
trace
- Specified by:
trace
in interfaceorg.slf4j.Logger
-
isTraceEnabled
- Specified by:
isTraceEnabled
in interfaceorg.slf4j.Logger
-
trace
- Specified by:
trace
in interfaceorg.slf4j.Logger
-
trace
- Specified by:
trace
in interfaceorg.slf4j.Logger
-
trace
- Specified by:
trace
in interfaceorg.slf4j.Logger
-
trace
- Specified by:
trace
in interfaceorg.slf4j.Logger
-
trace
- Specified by:
trace
in interfaceorg.slf4j.Logger
-
debug
- Specified by:
debug
in interfaceorg.slf4j.Logger
-
debug
- Specified by:
debug
in interfaceorg.slf4j.Logger
-
debug
- Specified by:
debug
in interfaceorg.slf4j.Logger
-
isDebugEnabled
- Specified by:
isDebugEnabled
in interfaceorg.slf4j.Logger
-
debug
- Specified by:
debug
in interfaceorg.slf4j.Logger
-
debug
- Specified by:
debug
in interfaceorg.slf4j.Logger
-
debug
- Specified by:
debug
in interfaceorg.slf4j.Logger
-
debug
- Specified by:
debug
in interfaceorg.slf4j.Logger
-
debug
- Specified by:
debug
in interfaceorg.slf4j.Logger
-
isInfoEnabled
- Specified by:
isInfoEnabled
in interfaceorg.slf4j.Logger
-
info
- Specified by:
info
in interfaceorg.slf4j.Logger
-
info
- Specified by:
info
in interfaceorg.slf4j.Logger
-
info
- Specified by:
info
in interfaceorg.slf4j.Logger
-
isInfoEnabled
- Specified by:
isInfoEnabled
in interfaceorg.slf4j.Logger
-
info
- Specified by:
info
in interfaceorg.slf4j.Logger
-
info
- Specified by:
info
in interfaceorg.slf4j.Logger
-
info
- Specified by:
info
in interfaceorg.slf4j.Logger
-
info
- Specified by:
info
in interfaceorg.slf4j.Logger
-
info
- Specified by:
info
in interfaceorg.slf4j.Logger
-
isWarnEnabled
- Specified by:
isWarnEnabled
in interfaceorg.slf4j.Logger
-
warn
- Specified by:
warn
in interfaceorg.slf4j.Logger
-
warn
- Specified by:
warn
in interfaceorg.slf4j.Logger
-
warn
- Specified by:
warn
in interfaceorg.slf4j.Logger
-
isWarnEnabled
- Specified by:
isWarnEnabled
in interfaceorg.slf4j.Logger
-
warn
- Specified by:
warn
in interfaceorg.slf4j.Logger
-
warn
- Specified by:
warn
in interfaceorg.slf4j.Logger
-
warn
- Specified by:
warn
in interfaceorg.slf4j.Logger
-
warn
- Specified by:
warn
in interfaceorg.slf4j.Logger
-
warn
- Specified by:
warn
in interfaceorg.slf4j.Logger
-
isErrorEnabled
- Specified by:
isErrorEnabled
in interfaceorg.slf4j.Logger
-
error
- Specified by:
error
in interfaceorg.slf4j.Logger
-
error
- Specified by:
error
in interfaceorg.slf4j.Logger
-
error
- Specified by:
error
in interfaceorg.slf4j.Logger
-
error
- Specified by:
error
in interfaceorg.slf4j.Logger
-
error
- Specified by:
error
in interfaceorg.slf4j.Logger
-
isErrorEnabled
- Specified by:
isErrorEnabled
in interfaceorg.slf4j.Logger
-
error
- Specified by:
error
in interfaceorg.slf4j.Logger
-
error
- Specified by:
error
in interfaceorg.slf4j.Logger
-
error
- Specified by:
error
in interfaceorg.slf4j.Logger
-
error
- Specified by:
error
in interfaceorg.slf4j.Logger
-
error
- Specified by:
error
in interfaceorg.slf4j.Logger
-
log
public void log(org.slf4j.Marker marker, String fqcn, int level, String message, Object[] argArray, Throwable t) - Specified by:
log
in interfaceorg.slf4j.spi.LocationAwareLogger
-