public interface ApplicationLogger
Modifier and Type | Method and Description |
---|---|
void |
addError(java.lang.String message)
Outputs an error message to the user.
|
void |
addError(java.lang.String message,
int helpCode)
Outputs an error message to the user.
|
void |
addError(java.lang.Throwable throwable,
boolean includeStackTrace)
Outputs an error message to the user.
|
void |
addError(java.lang.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(java.lang.String message)
Outputs a usual message to the user.
|
void |
addMessage(java.lang.String message,
int helpCode)
Outputs a usual message to the user.
|
void |
addWarning(java.lang.String message)
Outputs a warning message to the user.
|
void |
addWarning(java.lang.String message,
int helpCode)
Outputs a warning message to the user.
|
void addMessage(ApplicationLoggerMessage message)
message
- void addMessage(java.lang.String message)
message
- void addMessage(java.lang.String message, int helpCode)
message
- helpCode
- the help code associated with this messagesvoid addWarning(java.lang.String message)
message
- void addWarning(java.lang.String message, int helpCode)
message
- helpCode
- the help code associated with this warningvoid addError(java.lang.String message)
message
- void addError(java.lang.String message, int helpCode)
message
- helpCode
- the help code associated with this warningvoid addError(java.lang.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(java.lang.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