Interface ManagedLoggingSystem
-
- All Superinterfaces:
io.micronaut.logging.LoggingSystem
- All Known Implementing Classes:
Log4jLoggingSystem,LogbackLoggingSystem
public interface ManagedLoggingSystem extends io.micronaut.logging.LoggingSystemAbstraction for a logging system.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LoggerConfigurationgetLogger(@NotBlank java.lang.String name)Returns aLoggerConfigurationfor the logger found by name (or created if not found).java.util.Collection<LoggerConfiguration>getLoggers()Returns all existing loggers.
-
-
-
Method Detail
-
getLoggers
@NonNull java.util.Collection<LoggerConfiguration> getLoggers()
Returns all existing loggers.- Returns:
- A
CollectionofLoggerConfigurationinstances for all existing loggers
-
getLogger
@NonNull LoggerConfiguration getLogger(@NotBlank @NotBlank java.lang.String name)
Returns aLoggerConfigurationfor the logger found by name (or created if not found).- Parameters:
name- the logger name- Returns:
- the logger configuration
-
-