Skip to content

Formatter is very fragile #44

Open
@ramblingenzyme

Description

@ramblingenzyme

https://github.com/pinojs/pino/blob/master/docs/api.md#messagekey-string

Configuring messageKey will cause the formatter to fail.

Additionally we configure a formatter for level which returns status, to meet Datadog's expectations https://docs.datadoghq.com/logs/log_configuration/attributes_naming_convention/#reserved-attributes.

    level: (label: string) => ({
      status: label,
    }),
  },

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions