logfellow/logstash-logback-encoder

Support keyValue pairs provided by slf4j 2.x fluent api

philsttr opened this issue · 0 comments

slf4j 2.x added a new fluent api that allows adding key value pairs to log events. For example:

logger.atDebug().setMessage("Temperature changed.").addKeyValue("oldT", oldT).addKeyValue("newT", newT).log();

Support outputting these key value pairs in the encoders provided by logstash-logback-encoder. Exactly how is TBD.