Interface LoggingSystem

All Known Implementing Classes:
Log4jLoggingSystem, LogbackLoggingSystem

@Indexed(LoggingSystem.class) public interface LoggingSystem
Abstraction for a logging system.
Since:
1.3.0
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Refreshes Logging System with the goal of cleaning its internal caches.
    void
    setLogLevel(@NotBlank String name, @NotNull LogLevel level)
    Set the log level for the logger found by name (or created if not found).
  • Method Details

    • setLogLevel

      void setLogLevel(@NotBlank @NotBlank String name, @NotNull @NotNull LogLevel level)
      Set the log level for the logger found by name (or created if not found).
      Parameters:
      name - the logger name
      level - the log level to set on the named logger
    • refresh

      default void refresh()
      Refreshes Logging System with the goal of cleaning its internal caches.