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 Modifier and Type Method Description voidsetLogLevel(@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
-
-