Package com.e1c.g5.v8.dt.internal.check
Interface ICheckLogAccessor
- All Known Implementing Classes:
DefaultCheckLogAccessor
public interface ICheckLogAccessor
The log accessing abstraction that allows to change the logging medium without client code changes
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.core.runtime.IStatuscreateErrorStatus(String message) Creates an error status by the provided message.org.eclipse.core.runtime.IStatuscreateErrorStatus(String message, Throwable throwable) Creates an error status by the provided message and the cause throwable.org.eclipse.core.runtime.IStatuscreateInfoStatus(String message) Creates an info status by the provided message.voidlog(org.eclipse.core.runtime.IStatus status) voidLogs the provided message asINFOstatus if plug-in is in debug mode.voidCreates and logs an error status by the provided message.voidCreates and logs an error status by the provided message and the cause throwable.voidCreates and logs an info status by the provided message.
-
Method Details
-
createInfoStatus
Creates an info status by the provided message.- Parameters:
message- the status message, cannot benull- Returns:
- the status created info status, never
null
-
createErrorStatus
Creates an error status by the provided message.- Parameters:
message- the status message, cannot benull- Returns:
- the created error status, never
null
-
createErrorStatus
Creates an error status by the provided message and the cause throwable.- Parameters:
message- the status message, cannot benullthrowable- the cause throwable, can benullif not applicable- Returns:
- the created error status, never
null
-
log
void log(org.eclipse.core.runtime.IStatus status) -
logError
Creates and logs an error status by the provided message.- Parameters:
message- the status message, cannot benull
-
logInfo
Creates and logs an info status by the provided message.- Parameters:
message- the status message, cannot benull
-
logError
Creates and logs an error status by the provided message and the cause throwable.- Parameters:
message- the status message, cannot benullthrowable- the cause throwable, can benullif not applicable
-
logDebug
Logs the provided message asINFOstatus if plug-in is in debug mode.- Parameters:
message- the message to log, cannot benull
-