(set-decoder! decoder)
Given a fn (fn [^String encoded]) -> any
or cambium.logback.json.ValueDecoder instance, set the global decoder for
the cambium.logback.json.FlatJsonLayout layout. The decoder is used for every MDC value ahead of the transformer.
Given a fn `(fn [^String encoded]) -> any` or cambium.logback.json.ValueDecoder instance, set the global decoder for the cambium.logback.json.FlatJsonLayout layout. The decoder is used for every MDC value ahead of the transformer.
(set-transformer! xformer)
Given a fn (map<String, Object> m) -> map<String, Object>
or cambium.logback.json.MapTransformer instance, set the
global transformer for the cambium.logback.json.FlatJsonLayout layout. The map argument passed to the transformer is
a mutable java.util.Map instance; however the transformer also must return a java.util.Map as result.
Given a fn `(map<String, Object> m) -> map<String, Object>` or cambium.logback.json.MapTransformer instance, set the global transformer for the cambium.logback.json.FlatJsonLayout layout. The map argument passed to the transformer is a mutable java.util.Map instance; however the transformer also must return a java.util.Map as result.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close