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 TypeMethodDescriptionvoid
Log a debug level messagevoid
Log an info level message with items to be incorporated into the message stringvoid
Log an error level messagevoid
Log an error level message with items to be incorporated into the message stringvoid
Log an info level messagevoid
Log an info level message with items to be incorporated into the message stringvoid
Log a warn level messagevoid
Log 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();
-