ILogger
public interface ILogger
Defines the methods that are used to perform logging.
Methods
Method | Description |
---|---|
trace(String message) | Writes trace log message; Trace log messages provides generally useful information about application flow. |
warning(String message) | Writes warning log message; Warning log messages provides information about unexpected and recoverable event in application flow. |
error(String message, System.Exception exception) | Writes error log message; Error log messages provides information about unrecoverable events in application flow. |
trace(String message)
public abstract void trace(String message)
Writes trace log message; Trace log messages provides 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. |
error(String message, System.Exception exception)
public abstract void error(String message, System.Exception exception)
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. |
exception | com.aspose.ms.System.Exception | The exception. |