Package com.e1c.g5.v8.dt.internal.check
Class DefaultCheckLogAccessor
java.lang.Object
com.e1c.g5.v8.dt.internal.check.DefaultCheckLogAccessor
- All Implemented Interfaces:
ICheckLogAccessor
Default implementation of the
ICheckLogAccessor that uses the CheckPlugin default logging-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
DefaultCheckLogAccessor
public DefaultCheckLogAccessor()
-
-
Method Details
-
createErrorStatus
Description copied from interface:ICheckLogAccessorCreates an error status by the provided message.- Specified by:
createErrorStatusin interfaceICheckLogAccessor- Parameters:
message- the status message, cannot benull- Returns:
- the created error status, never
null
-
createErrorStatus
Description copied from interface:ICheckLogAccessorCreates an error status by the provided message and the cause throwable.- Specified by:
createErrorStatusin interfaceICheckLogAccessor- Parameters:
message- the status message, cannot benullthrowable- the cause throwable, can benullif not applicable- Returns:
- the created error status, never
null
-
createInfoStatus
Description copied from interface:ICheckLogAccessorCreates an info status by the provided message.- Specified by:
createInfoStatusin interfaceICheckLogAccessor- Parameters:
message- the status message, cannot benull- Returns:
- the status created info status, never
null
-
log
public void log(org.eclipse.core.runtime.IStatus status) - Specified by:
login interfaceICheckLogAccessor
-
logDebug
Description copied from interface:ICheckLogAccessorLogs the provided message asINFOstatus if plug-in is in debug mode.- Specified by:
logDebugin interfaceICheckLogAccessor- Parameters:
message- the message to log, cannot benull
-
logError
Description copied from interface:ICheckLogAccessorCreates and logs an error status by the provided message.- Specified by:
logErrorin interfaceICheckLogAccessor- Parameters:
message- the status message, cannot benull
-
logError
Description copied from interface:ICheckLogAccessorCreates and logs an error status by the provided message and the cause throwable.- Specified by:
logErrorin interfaceICheckLogAccessor- Parameters:
message- the status message, cannot benullthrowable- the cause throwable, can benullif not applicable
-
logInfo
Description copied from interface:ICheckLogAccessorCreates and logs an info status by the provided message.- Specified by:
logInfoin interfaceICheckLogAccessor- Parameters:
message- the status message, cannot benull
-