Interface LoggingSystem

All Known Subinterfaces:
ManagedLoggingSystem
All Known Implementing Classes:
Log4jLoggingSystem, Log4jLoggingSystem, LogbackLoggingSystem, LogbackLoggingSystem

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

    Modifier and Type
    Method
    Description
    default void
    Refreshes Logging System with the goal of cleaning its internal caches.
    void
    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.