Package io.quarkus.runtime.logging
Class LoggingSetupRecorder
java.lang.Object
io.quarkus.runtime.logging.LoggingSetupRecorder
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLoggingSetupRecorder
(RuntimeValue<ConsoleRuntimeConfig> consoleRuntimeConfig) -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Level
getLogLevel
(String categoryName, Map<String, T> categories, Function<T, InheritableLevel> levelExtractor, Map<String, InheritableLevel> categoryDefaults, Level rootMinLevel) static <T> InheritableLevel
getLogLevelNoInheritance
(String categoryName, Map<String, T> categories, Function<T, InheritableLevel> levelExtractor, Map<String, InheritableLevel> categoryDefaults) static void
static void
handleFailedStart
(RuntimeValue<Optional<Supplier<String>>> banner) static void
initializeBuildTimeLogging
(LogConfig config, LogBuildTimeConfig buildConfig, Map<String, InheritableLevel> categoryDefaultMinLevels, ConsoleRuntimeConfig consoleConfig, LaunchMode launchMode) WARNING: this method is part of the recorder but is actually called statically at build time.initializeLogging
(LogConfig config, LogBuildTimeConfig buildConfig, DiscoveredLogComponents discoveredLogComponents, Map<String, InheritableLevel> categoryDefaultMinLevels, boolean enableWebStream, RuntimeValue<Optional<Handler>> streamingDevUiConsoleHandler, List<RuntimeValue<Optional<Handler>>> additionalHandlers, List<RuntimeValue<Map<String, Handler>>> additionalNamedHandlers, List<RuntimeValue<Optional<Formatter>>> possibleConsoleFormatters, List<RuntimeValue<Optional<Formatter>>> possibleFileFormatters, List<RuntimeValue<Optional<Formatter>>> possibleSyslogFormatters, RuntimeValue<Optional<Supplier<String>>> possibleBannerSupplier, LaunchMode launchMode, boolean includeFilters) void
-
Field Details
-
consoleRuntimeConfig
-
-
Constructor Details
-
LoggingSetupRecorder
-
-
Method Details
-
handleFailedStart
public static void handleFailedStart() -
handleFailedStart
-
initializeLogging
public ShutdownListener initializeLogging(LogConfig config, LogBuildTimeConfig buildConfig, DiscoveredLogComponents discoveredLogComponents, Map<String, InheritableLevel> categoryDefaultMinLevels, boolean enableWebStream, RuntimeValue<Optional<Handler>> streamingDevUiConsoleHandler, List<RuntimeValue<Optional<Handler>>> additionalHandlers, List<RuntimeValue<Map<String, Handler>>> additionalNamedHandlers, List<RuntimeValue<Optional<Formatter>>> possibleConsoleFormatters, List<RuntimeValue<Optional<Formatter>>> possibleFileFormatters, List<RuntimeValue<Optional<Formatter>>> possibleSyslogFormatters, RuntimeValue<Optional<Supplier<String>>> possibleBannerSupplier, LaunchMode launchMode, boolean includeFilters) -
initializeBuildTimeLogging
public static void initializeBuildTimeLogging(LogConfig config, LogBuildTimeConfig buildConfig, Map<String, InheritableLevel> categoryDefaultMinLevels, ConsoleRuntimeConfig consoleConfig, LaunchMode launchMode) WARNING: this method is part of the recorder but is actually called statically at build time. You may not push RuntimeValue's to it. -
getLogLevel
public static <T> Level getLogLevel(String categoryName, Map<String, T> categories, Function<T, InheritableLevel> levelExtractor, Map<String, InheritableLevel> categoryDefaults, Level rootMinLevel) -
getLogLevelNoInheritance
public static <T> InheritableLevel getLogLevelNoInheritance(String categoryName, Map<String, T> categories, Function<T, InheritableLevel> levelExtractor, Map<String, InheritableLevel> categoryDefaults) -
initializeLoggingForImageBuild
public void initializeLoggingForImageBuild()
-