public interface ErrorTypeAwareLogger extends Logger
This logger will log a message like this:
... (original logging message) This may be caused by (... cause),
go to https://dubbo.apache.org/faq/[Cat]/[X] to find instructions. (... extendedInformation)
Where "[Cat]/[X]" is the error code ("code" in arguments). The link is clickable, leading user to
the "Error code and its corresponding solutions" page.| Modifier and Type | Method and Description |
|---|---|
void |
error(String code,
String cause,
String extendedInformation,
String msg)
Logs a message with error log level.
|
void |
error(String code,
String cause,
String extendedInformation,
String msg,
Throwable e)
Logs a message with error log level.
|
void |
warn(String code,
String cause,
String extendedInformation,
String msg)
Logs a message with warn log level.
|
void |
warn(String code,
String cause,
String extendedInformation,
String msg,
Throwable e)
Logs a message with warn log level.
|
debug, debug, debug, error, error, error, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, trace, trace, trace, warn, warn, warnvoid warn(String code, String cause, String extendedInformation, String msg)
code - error codecause - error causeextendedInformation - extended informationmsg - log this messagevoid warn(String code, String cause, String extendedInformation, String msg, Throwable e)
code - error codecause - error causeextendedInformation - extended informationmsg - log this messagee - log this causevoid error(String code, String cause, String extendedInformation, String msg)
code - error codecause - error causeextendedInformation - extended informationmsg - log this messageCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.