Package org.springframework.boot.logging.structured
@NullMarked
package org.springframework.boot.logging.structured
Support for structured logging.
-
ClassDescriptionCommon structured log formats supported by Spring Boot.Helper that can be used to add JSON pairs from context data (typically the logger MDC) in the correct location (or drop them altogether).Joins a prefix and a name.Properties for Elastic Common Schema structured logging.Service details.Service details for Graylog Extended Log Format structured logging.Service details.Base class for
StructuredLogFormatterimplementations that generates JSON using aJsonWriter.Formats a log event to a structured log message.Factory that can be used to create a fully instantiatedStructuredLogFormatterfor either acommon formator a fully-qualified class name.Factory used to create aStructuredLogFormatterfor a givenCommonStructuredLogFormat.Callback used for configure theStructuredLogFormatterFactory.CommonFormatterFactoryto use for a givenCommonStructuredLogFormat.Customizer that can be injected intoStructuredLogFormatterimplementations to customizeJsonWriterJsonWriter.Members.Builder that can be injected into aStructuredLogFormatterto build theStructuredLoggingJsonMembersCustomizerwhen specific settings are required.