Package io.quarkus.deployment.logging
Class LoggingDecorateBuildItem
java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.SimpleBuildItem
io.quarkus.deployment.logging.LoggingDecorateBuildItem
public final class LoggingDecorateBuildItem
extends io.quarkus.builder.item.SimpleBuildItem
Contains information to decorate the Log output. Can be used by extensions that output the log / stacktraces,
for example the error page.
Also see io.quarkus.runtime.logging.DecorateStackUtil to assist with the decoration
-
Constructor Summary
ConstructorsConstructorDescriptionLoggingDecorateBuildItem(Path srcMainJava, org.jboss.jandex.CompositeIndex knowClassesIndex) -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of ordered known classes.org.jboss.jandex.CompositeIndex
-
Constructor Details
-
LoggingDecorateBuildItem
-
-
Method Details
-
getSrcMainJava
-
getKnowClassesIndex
public org.jboss.jandex.CompositeIndex getKnowClassesIndex() -
getKnowClasses
Returns a list of ordered known classes. Normally, we don't require the build items to have reproducible collections, since stabilizing order is a responsibility ofio.quarkus.deployment.annotations.Recordannotated build steps.However, this build item is used by the number of bytecode-recording build steps. Repeating the ordering logic in all of them seems like a waste, so we do it here instead.
- Returns:
- a list of ordered known classes, sorted by their name.
-