Package net.logstash.logback.pattern
package net.logstash.logback.pattern
-
ClassDescriptionAbstractJsonPatternParser<Event>Parser that takes a JSON pattern, resolves all the conversion specifiers and returns an instance of NodeWriter that, when its write() method is invoked, produces JSON defined by the parsed pattern.Variation of the Logback
PropertyConverter
with the option to specify a default value to use when the property does not exist instead of returningnull
as does the original Logback implementation.NodeWriter<Event>Writes a JSON pattern node into JSON generator supplied.Adapter around aPatternLayoutBase
to allow writing the pattern into a suppliedStringBuilder
instead of returning a String.ValueGetter<Event,T> Computes a value given an event.