public interface ApplicationLogger
Modifier and Type | Method and Description |
---|---|
void |
addError(String message)
Outputs an error message to the user.
|
void |
addError(String message,
int helpCode)
Outputs an error message to the user.
|
void |
addError(Throwable throwable,
boolean includeStackTrace)
Outputs an error message to the user.
|
void |
addError(Throwable throwable,
boolean includeStackTrace,
int helpCode)
Outputs an error message to the user.
|
void |
addMessage(ApplicationLoggerMessage message)
Outputs a usual message to the user.
|
void |
addMessage(String message)
Outputs a usual message to the user.
|
void |
addMessage(String message,
int helpCode)
Outputs a usual message to the user.
|
void |
addWarning(String message)
Outputs a warning message to the user.
|
void |
addWarning(String message,
int helpCode)
Outputs a warning message to the user.
|
void addMessage(ApplicationLoggerMessage message)
message
- void addMessage(String message)
message
- void addMessage(String message, int helpCode)
message
- helpCode
- the help code associated with this messagesvoid addWarning(String message)
message
- void addWarning(String message, int helpCode)
message
- helpCode
- the help code associated with this warningvoid addError(String message, int helpCode)
message
- helpCode
- the help code associated with this warningvoid addError(Throwable throwable, boolean includeStackTrace)
throwable
- the Throwable describing the errorincludeStackTrace
- Specify true
here, if you want the whole stack trace to
be included in the error message or false
, if only the message shall be
contained in the output.void addError(Throwable throwable, boolean includeStackTrace, int helpCode)
throwable
- the Throwable describing the errorincludeStackTrace
- Specify true
here, if you want the whole stack trace to
be included in the error message or false
, if only the message shall be
contained in the output.helpCode
- the help code associated with this warning