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 aLoggerConfiguration
for 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
Collection
ofLoggerConfiguration
instances for all existing loggers
-
getLogger
Returns aLoggerConfiguration
for the logger found by name (or created if not found).- Parameters:
name
- the logger name- Returns:
- the logger configuration
-