public interface ILogger
Defines the methods that are used to perform logging.
Modifier and Type | Method and Description |
---|---|
void |
error(String message,
Exception exception)
Writes error log message;
Error log messages provides information about unrecoverable events in application flow.
|
void |
trace(String message)
Writes trace log message;
Trace log messages provides generally useful information about application flow.
|
void |
warning(String message)
Writes warning log message;
Warning log messages provides information about unexpected and recoverable event in application flow.
|
void error(String message, Exception exception)
Writes error log message; Error log messages provides information about unrecoverable events in application flow.
message
- The error message.exception
- The exception.NullPointerException
- Thrown when message
is null.NullPointerException
- Thrown when exception
is null.void trace(String message)
Writes trace log message; Trace log messages provides generally useful information about application flow.
message
- The trace message.NullPointerException
- Thrown when message
is null.void warning(String message)
Writes warning log message; Warning log messages provides information about unexpected and recoverable event in application flow.
message
- The warning message.NullPointerException
- Thrown when message
is null.