Package com.caplin.permissioning.logging
Interface LoggerProvider
- All Known Implementing Classes:
JavaUtilLoggerProvider
public interface LoggerProvider
A logging interface that the
LoggerProvider uses to log with. Implementing this interface and setting your
implementation as the LoggerProvider for the PermissioningLogger will cause the log messages for the
permissioning objects to be redirected to your LoggerProvider.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidLog a debug level messagevoidLog an info level message with items to be incorporated into the message stringvoidLog an error level messagevoidLog an error level message with items to be incorporated into the message stringvoidLog an info level messagevoidLog an info level message with items to be incorporated into the message stringvoidLog a warn level messagevoidLog a warn level message with items to be incorporated into the message string
-
Method Details
-
logError
Log an error level message- Parameters:
message-
-
logError
Log an error level message with items to be incorporated into the message string- Parameters:
message- the (non-parameterised log message)t- the throwable to be logged
-
logWarn
Log a warn level message- Parameters:
message-
-
logWarn
Log a warn level message with items to be incorporated into the message string- Parameters:
message- the message in the form "user name was: {0}"args- the arguments to substitute into the message e.g. user.getName();
-
logInfo
Log an info level message- Parameters:
message-
-
logInfo
Log an info level message with items to be incorporated into the message string- Parameters:
message-args-
-
logDebug
Log a debug level message- Parameters:
message-
-
logDebug
Log an info level message with items to be incorporated into the message string- Parameters:
message- the message in the form "user name was: {0}"args- the arguments to substitute into the message e.g. user.getName();
-