Package com.attivio.util
Interface StatusListener
-
- All Known Implementing Classes:
AttivioLogger,StatusListenerTee
public interface StatusListenerAccepts status messages for various system or client events.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voiddebug(java.lang.String msg, java.lang.Object... params)Logs a debug message.default voiderror(ErrorCode errorCode, java.lang.Throwable ex, java.lang.String msg, java.lang.Object... params)Logs an error message with an error code.default voidinfo(java.lang.String msg, java.lang.Object... params)Logs an info message.default voidwarn(AttivioException ae)Log an AttivioException at a warning level.default voidwarn(ErrorCode logMessageType, java.lang.String msg, java.lang.Object... params)Logs a warning message with an error code.default voidwarn(ErrorCode logMessageType, java.lang.Throwable t, java.lang.String msg, java.lang.Object... params)Logs a warning message without an error code.
-
-
-
Method Detail
-
debug
default void debug(java.lang.String msg, java.lang.Object... params)Logs a debug message.- Parameters:
msg- Message to logparams- variable arguments for the format string
-
info
default void info(java.lang.String msg, java.lang.Object... params)Logs an info message.- Parameters:
msg- message to logparams- variable arguments for the format string
-
warn
default void warn(ErrorCode logMessageType, java.lang.Throwable t, java.lang.String msg, java.lang.Object... params)
Logs a warning message without an error code.- Parameters:
logMessageType-msg- Message to logparams- variable arguments for the format string
-
warn
default void warn(ErrorCode logMessageType, java.lang.String msg, java.lang.Object... params)
Logs a warning message with an error code.- Parameters:
logMessageType-msg- Message to logparams- variable arguments for the format string
-
warn
default void warn(AttivioException ae)
Log an AttivioException at a warning level.- Parameters:
ae- the AttivioException
-
error
default void error(ErrorCode errorCode, java.lang.Throwable ex, java.lang.String msg, java.lang.Object... params)
Logs an error message with an error code.- Parameters:
errorCode- Attivio ErrorCodeex- Exception associated with the errormsg- Message to logparams- variable arguments for the format string
-
-