Skip to content

Allow to add processors via configuration #104

@kingcrunch

Description

@kingcrunch

Monolog and the Monolog-bridge come with some pre-defined processors to use. It would be nice, if one could enable them easily via configuration, like

monolog:
  handlers: ~ # define your handlers here (omitted)
  processors:
    foo:
      type: memory_peak_usage
      real_usage: true
      use_formatting: false
      channels: [bar, baz]
    bar:
      type: psr_log_message
      handlers: [mainfile]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions