Interface LoggerProxy

All Known Implementing Classes:
JulProxy, Log4jProxy, LogbackProxy

public interface LoggerProxy
A logging proxy facilitating the setting of log levels
  • Field Details

    • NULL_PROXY

      static final LoggerProxy NULL_PROXY
      The null logger proxy instance, zero functionality.
  • Method Details

    • getLogLevel

      Object getLogLevel()
      Returns:
      the current log level
    • setLogLevel

      void setLogLevel(Object logLevel)
      Sets the log level
      Parameters:
      logLevel - the log level
    • levels

      List<Object> levels()
      Returns:
      the available log levels
    • files

      default Collection<String> files()
      Returns:
      the log file paths, if available
    • instance

      static LoggerProxy instance()
      Returns:
      the first available LoggerProxy implementation found, NULL_PROXY if none is available.