Interface ManagedLoggingSystem
- All Superinterfaces:
LoggingSystem
- All Known Implementing Classes:
Log4jLoggingSystem,LogbackLoggingSystem
Abstraction for a logging system.
- Since:
- 1.0
- Author:
- Matthew Moss
-
Method Summary
Modifier and TypeMethodDescriptionReturns aLoggerConfigurationfor the logger found by name (or created if not found).Returns all existing loggers.Methods inherited from interface io.micronaut.logging.LoggingSystem
refresh, setLogLevel
-
Method Details
-
getLoggers
Returns all existing loggers.- Returns:
- A
CollectionofLoggerConfigurationinstances for all existing loggers
-
getLogger
Returns aLoggerConfigurationfor the logger found by name (or created if not found).- Parameters:
name- the logger name- Returns:
- the logger configuration
-