CorrelationIdConverter

@Plugin(name = "CorrelationIdConverter", category = PatternConverter.CATEGORY)
class CorrelationIdConverter : LogEventPatternConverter

Log4j2 LogEventPatternConverter to convert a CorrelationIdFormatter pattern into formatted output using data from the MDC.

Author

Phillip Webb

Since

3.2.0

See also

MdcPatternConverter

Properties

Link copied to clipboard
val CATEGORY: String = "Converter"
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open fun format(event: LogEvent, toAppendTo: StringBuilder)
Link copied to clipboard
open fun getStyleClass(e: Any): String
Link copied to clipboard
Link copied to clipboard
open fun isVariable(): Boolean
Link copied to clipboard
Factory method to create a new CorrelationIdConverter.