Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Use Zap library for logging to support JSON #272

Description

@nilebox

Is your feature request related to a problem? Please describe.
Currently log messages are written using the standard log package which prints messages in plain text, and doesn't support any customization, and is a problem when used in OpenTelemetry Collector.

Describe the solution you'd like
Migrate to https://github.com/uber-go/zap for logging, and support passing a logger in the configuration / constructor.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions