Class RainbowGumSystemLoggerFinder
java.lang.Object
java.lang.System.LoggerFinder
io.jstach.rainbowgum.systemlogger.RainbowGumSystemLoggerFinder
Abstract System Logger Finder to allow users to create their own custom
System.LoggerFinder. This implementation does not cache System Loggers
by name!
GraalVM native image: this module bundles a native-image.properties (at
META-INF/native-image/io.jstach.rainbowgum/rainbowgum-systemlogger/) with
--initialize-at-build-time for RouterProvider plus the core classes
(GlobalLogRouter, StaticLevelResolver) its LogRouter.global()
fallback touches on first real use. See routerProvider for why this is still
needed even though this class resolves its router lazily rather than eagerly in its
constructor, and why what gets frozen in is just the cheap "nothing bound yet" state,
not anything environment-specific. native-image's own embedded configuration discovery
picks this up from this module's jar automatically, no extra plugin or flag needed on
the consuming side.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumValues (case is ignored) for "logging.systemlogger.initialize". -
Field Summary
Fields -
Method Summary
Methods inherited from class System.LoggerFinder
getLocalizedLogger, getLoggerFinder
-
Field Details
-
INITIALIZE_RAINBOW_GUM_PROPERTY
-
-
Method Details
-
getLogger
- Specified by:
getLoggerin classSystem.LoggerFinder
-