ILogger
public interface ILogger
Defines the methods that are used to perform logging.
Methods
Method | Description |
---|---|
error(String message, Exception ex) | Writes error log message; Error log messages provides information about unrecoverable events in application flow. |
trace(String message) | Writes a trace message. |
warning(String message) | Writes warning log message; Warning log messages provides information about unexpected and recoverable event in application flow. |
error(String message, Exception ex)
public abstract void error(String message, Exception ex)
Writes error log message; Error log messages provides information about unrecoverable events in application flow.
Parameters:
Parameter | Type | Description |
---|---|---|
message | java.lang.String | The error message. |
ex | java.lang.Exception | The exception. |
trace(String message)
public abstract void trace(String message)
Writes a trace message. Trace log messages provide generally useful information about application flow.
Parameters:
Parameter | Type | Description |
---|---|---|
message | java.lang.String | The trace message. |
warning(String message)
public abstract void warning(String message)
Writes warning log message; Warning log messages provides information about unexpected and recoverable event in application flow.
Parameters:
Parameter | Type | Description |
---|---|---|
message | java.lang.String | The warning message. |