public abstract class AbstractApplicationLogger extends java.lang.Object implements ApplicationLogger
Constructor and Description |
---|
AbstractApplicationLogger() |
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(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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addMessage
public AbstractApplicationLogger()
public void addMessage(java.lang.String message, int helpCode)
ApplicationLogger
addMessage
in interface ApplicationLogger
helpCode
- the help code associated with this messagespublic void addMessage(java.lang.String message)
ApplicationLogger
addMessage
in interface ApplicationLogger
public void addWarning(java.lang.String message, int helpCode)
ApplicationLogger
addWarning
in interface ApplicationLogger
helpCode
- the help code associated with this warningpublic void addWarning(java.lang.String message)
ApplicationLogger
addWarning
in interface ApplicationLogger
public void addError(java.lang.String message, int helpCode)
ApplicationLogger
addError
in interface ApplicationLogger
helpCode
- the help code associated with this warningpublic void addError(java.lang.String message)
ApplicationLogger
addError
in interface ApplicationLogger
public void addError(java.lang.Throwable throwable, boolean includeStackTrace)
ApplicationLogger
addError
in interface ApplicationLogger
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.public void addError(java.lang.Throwable throwable, boolean includeStackTrace, int helpCode)
ApplicationLogger
addError
in interface ApplicationLogger
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