Constructor and Description |
---|
ConsoleLogger() |
public final void error(String message, Exception exception)
Writes error message to the console. Error log messages provides information about unrecoverable events in application flow.
error
in interface ILogger
message
- The error message.exception
- The exception.NullPointerException
- Thrown when message
is null.NullPointerException
- Thrown when exception
is null.public final void trace(String message)
Writes trace message to the console. Trace log messages provides generally useful information about application flow.
trace
in interface ILogger
message
- The trace message.NullPointerException
- Thrown when message
is null.public final void warning(String message)
Writes warning message to the console. Warning log messages provides information about unexpected and recoverable event in application flow.
warning
in interface ILogger
message
- The warning message.NullPointerException
- Thrown when message
is null.