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 Summary
Constructors -
Method Summary
Modifier 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
-
DefaultNoLogging
public DefaultNoLogging()
-
-
Method Details
-
getInstance
Java API to return the reference to NoLogging- Returns:
- The NoLogging instance
-
isErrorEnabled
public static final boolean isErrorEnabled() -
isWarningEnabled
public static final boolean isWarningEnabled() -
isInfoEnabled
public static final boolean isInfoEnabled() -
isDebugEnabled
public 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
-
isEnabled
public static final boolean isEnabled(org.apache.pekko.event.Logging.LogLevel level) -
notifyLog
-
format
-