Interface Config.MDCConfig

Enclosing interface:
Config

public static interface Config.MDCConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    Enable or disable the field.
    Used to change the json key for the field.
    boolean
    Will write the values at the top level of the JSON log object.
  • Method Details

    • fieldName

      Optional<String> fieldName()
      Used to change the json key for the field.
    • enabled

      Optional<Boolean> enabled()
      Enable or disable the field.
    • flatFields

      @WithDefault("false") boolean flatFields()
      Will write the values at the top level of the JSON log object.