Package com.caplin.permissioning.logging
Class JavaUtilLoggerProvider
java.lang.Object
com.caplin.permissioning.logging.JavaUtilLoggerProvider
- All Implemented Interfaces:
LoggerProvider
An adapter for
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 Summary
ConstructorsConstructorDescriptionJavaUtilLoggerProvider(Logger logger) Creates a PermissioningLoggerProviderthat adapts Permissioning logging to theLoggerprovided. -
Method Summary
Modifier and TypeMethodDescriptionvoidLog a debug level message to theLoggerthat this class was created with.voidLog a debug level message to theLoggerthat this class was created with.voidLog an error level message to theLoggerthat this class was created with.voidLog an error level message to theLoggerthat this class was created with.voidLog an info level message to theLoggerthat this class was created with.voidLog an info level message to theLoggerthat this class was created with.voidLog a warn level message to theLoggerthat this class was created with.voidLog a warn level message to theLoggerthat this class was created with.
-
Constructor Details
-
JavaUtilLoggerProvider
Creates a PermissioningLoggerProviderthat adapts Permissioning logging to theLoggerprovided.- Parameters:
logger- the logger to log to.
-
-
Method Details
-
logDebug
Log a debug level message to theLoggerthat this class was created with.- Specified by:
logDebugin interfaceLoggerProvider- Parameters:
message- the message to log
-
logDebug
Log a debug level message to theLoggerthat this class was created with.- Specified by:
logDebugin interfaceLoggerProvider- Parameters:
message- the message to logargs- the objects to merge into the message string
-
logError
Log an error level message to theLoggerthat this class was created with.- Specified by:
logErrorin interfaceLoggerProvider- Parameters:
message- the message to log
-
logError
Log an error level message to theLoggerthat this class was created with.- Specified by:
logErrorin interfaceLoggerProvider- Parameters:
message- the message to logthrowable- the throwable to merge into the message string
-
logInfo
Log an info level message to theLoggerthat this class was created with.- Specified by:
logInfoin interfaceLoggerProvider- Parameters:
message- the message to log
-
logInfo
Log an info level message to theLoggerthat this class was created with.- Specified by:
logInfoin interfaceLoggerProvider- Parameters:
message- the message to logargs- the objects to merge into the message string
-
logWarn
Log a warn level message to theLoggerthat this class was created with.- Specified by:
logWarnin interfaceLoggerProvider- Parameters:
message- the message to log
-
logWarn
Log a warn level message to theLoggerthat this class was created with.- Specified by:
logWarnin interfaceLoggerProvider- Parameters:
message- the message to logargs- the objects to merge into the message string
-