public class JavaUtilLoggerProvider extends java.lang.Object implements LoggerProvider
PermissioningLogger, so that the Permissioning system can log to the java
Logger. By default the PermissioningDataSource uses the Logger set up by
DataSource for Java.| Constructor and Description |
|---|
JavaUtilLoggerProvider(java.util.logging.Logger logger)
Creates a Permissioning
LoggerProvider that adapts Permissioning logging to the
Logger provided. |
| Modifier and Type | Method and Description |
|---|---|
void |
logDebug(java.lang.String message)
Log a debug level message to the
Logger that this class was created with. |
void |
logDebug(java.lang.String message,
java.lang.Object... args)
Log a debug level message to the
Logger that this class was created with. |
void |
logError(java.lang.String message)
Log an error level message to the
Logger that this class was created with. |
void |
logError(java.lang.String message,
java.lang.Throwable throwable)
Log an error level message to the
Logger that this class was created with. |
void |
logInfo(java.lang.String message)
Log an info level message to the
Logger that this class was created with. |
void |
logInfo(java.lang.String message,
java.lang.Object... args)
Log an info level message to the
Logger that this class was created with. |
void |
logWarn(java.lang.String message)
Log a warn level message to the
Logger that this class was created with. |
void |
logWarn(java.lang.String message,
java.lang.Object... args)
Log a warn level message to the
Logger that this class was created with. |
public JavaUtilLoggerProvider(java.util.logging.Logger logger)
LoggerProvider that adapts Permissioning logging to the
Logger provided.logger - the logger to log to.public void logDebug(java.lang.String message)
Logger that this class was created with.logDebug in interface LoggerProvidermessage - the message to logpublic void logDebug(java.lang.String message,
java.lang.Object... args)
Logger that this class was created with.logDebug in interface LoggerProvidermessage - the message to logargs - the objects to merge into the message stringpublic void logError(java.lang.String message)
Logger that this class was created with.logError in interface LoggerProvidermessage - the message to logpublic void logError(java.lang.String message,
java.lang.Throwable throwable)
Logger that this class was created with.logError in interface LoggerProvidermessage - the message to logthrowable - the throwable to merge into the message stringpublic void logInfo(java.lang.String message)
Logger that this class was created with.logInfo in interface LoggerProvidermessage - the message to logpublic void logInfo(java.lang.String message,
java.lang.Object... args)
Logger that this class was created with.logInfo in interface LoggerProvidermessage - the message to logargs - the objects to merge into the message stringpublic void logWarn(java.lang.String message)
Logger that this class was created with.logWarn in interface LoggerProvidermessage - the message to logpublic void logWarn(java.lang.String message,
java.lang.Object... args)
Logger that this class was created with.logWarn in interface LoggerProvidermessage - the message to logargs - the objects to merge into the message stringPlease send bug reports and comments to Caplin support