| Constructor and Description |
|---|
ConsoleLogger()
Create logger to console.
|
| Modifier and Type | Method and Description |
|---|---|
void |
error(String message,
Exception exception)
Writes an 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;
Warning log messages provide information about the unexpected and recoverable event in application flow.
|
public final void error(String message, Exception exception)
Writes an error message to the console. Error log messages provide information about unrecoverable events in application flow.
error in interface ILoggermessage - The error message.exception - The exception.IllegalArgumentException - Thrown when message is null.IllegalArgumentException - Thrown when exception is null.public final void trace(String message)
Writes trace message to the console. Trace log messages provide generally useful information about application flow.
trace in interface ILoggermessage - The trace message.IllegalArgumentException - Thrown when message is null.public final void warning(String message)
Writes warning message to the console; Warning log messages provide information about the unexpected and recoverable event in application flow.
warning in interface ILoggermessage - The warning message.IllegalArgumentException - Thrown when message is null.Copyright © 2024. All rights reserved.