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 Type
    Method
    Description
    void
    logDebug(String message)
    Log a debug level message
    void
    logDebug(String message, Object... args)
    Log an info level message with items to be incorporated into the message string
    void
    logError(String message)
    Log an error level message
    void
    logError(String message, Throwable t)
    Log an error level message with items to be incorporated into the message string
    void
    logInfo(String message)
    Log an info level message
    void
    logInfo(String message, Object... args)
    Log an info level message with items to be incorporated into the message string
    void
    logWarn(String message)
    Log a warn level message
    void
    logWarn(String message, Object... args)
    Log a warn level message with items to be incorporated into the message string
  • Method Details

    • logError

      void logError(String message)
      Log an error level message
      Parameters:
      message -
    • logError

      void logError(String message, Throwable t)
      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

      void logWarn(String message)
      Log a warn level message
      Parameters:
      message -
    • logWarn

      void logWarn(String message, Object... args)
      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

      void logInfo(String message)
      Log an info level message
      Parameters:
      message -
    • logInfo

      void logInfo(String message, Object... args)
      Log an info level message with items to be incorporated into the message string
      Parameters:
      message -
      args -
    • logDebug

      void logDebug(String message)
      Log a debug level message
      Parameters:
      message -
    • logDebug

      void logDebug(String message, Object... args)
      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();