Package io.micronaut.logging
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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
refresh()
Refreshes Logging System with the goal of cleaning its internal caches.void
setLogLevel(@NotBlank java.lang.String name, @NotNull LogLevel level)
Set the log level for the logger found by name (or created if not found).
-
-
-
Method Detail
-
setLogLevel
void setLogLevel(@NotBlank @NotBlank java.lang.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 namelevel
- the log level to set on the named logger
-
refresh
default void refresh()
Refreshes Logging System with the goal of cleaning its internal caches.
-
-