| Constructor and Description |
|---|
ConsoleLogger() |
| Modifier and Type | Method and Description |
|---|---|
void |
error(String message,
Exception exception)
Writes error message to the console.
|
void |
trace(String message)
Writes trace message to the console.
|
void |
warning(String message)
Writes warning message to the console.
|
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 ILoggermessage - 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 ILoggermessage - 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 ILoggermessage - The warning message.NullPointerException - Thrown when message is null.Copyright © 2024. All rights reserved.