Package org.apache.pekko.http.impl.util
Class DefaultNoLogging
java.lang.Object
org.apache.pekko.http.impl.util.DefaultNoLogging
INTERNAL API
 
A copy of NoLogging that can be used as a place-holder for "logging not explicitly specified". It can be matched on to be overridden with default behavior.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic Stringstatic DefaultNoLogging$Java API to return the reference to NoLoggingstatic voidstatic voidstatic voidstatic voidstatic voidstatic final booleanstatic final booleanisEnabled(org.apache.pekko.event.Logging.LogLevel level) static final booleanstatic final booleanstatic final booleanstatic voidstatic voidstatic voidstatic voidlog(org.apache.pekko.event.Logging.LogLevel level, String template, Object arg1, Object arg2, Object arg3) static voidlog(org.apache.pekko.event.Logging.LogLevel level, String template, Object arg1, Object arg2, Object arg3, Object arg4) mdc()protected static final voidnotifyDebug(String message) protected static final voidnotifyError(String message) protected static final voidnotifyError(Throwable cause, String message) protected static final voidnotifyInfo(String message) static final voidprotected static final voidnotifyWarning(String message) static voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic void
- 
Constructor Details- 
DefaultNoLoggingpublic DefaultNoLogging()
 
- 
- 
Method Details- 
getInstanceJava API to return the reference to NoLogging- Returns:
- The NoLogging instance
 
- 
isErrorEnabledpublic static final boolean isErrorEnabled()
- 
isWarningEnabledpublic static final boolean isWarningEnabled()
- 
isInfoEnabledpublic static final boolean isInfoEnabled()
- 
isDebugEnabledpublic static final boolean isDebugEnabled()
- 
notifyError
- 
notifyError
- 
notifyWarning
- 
notifyInfo
- 
notifyDebug
- 
mdc
- 
error
- 
error
- 
error
- 
error
- 
error
- 
error
- 
error
- 
error
- 
error
- 
error
- 
warning
- 
warning
- 
warning
- 
warning
- 
warning
- 
warning
- 
warning
- 
warning
- 
warning
- 
warning
- 
info
- 
info
- 
info
- 
info
- 
info
- 
debug
- 
debug
- 
debug
- 
debug
- 
debug
- 
log
- 
log
- 
log
- 
log
- 
log
- 
isEnabledpublic static final boolean isEnabled(org.apache.pekko.event.Logging.LogLevel level) 
- 
notifyLog
- 
format
 
-