Skip to content

[go] Allow user-defined Logger #531

Open
@raskyld

Description

The Go ecosystem has a lot of opinionated logger, slog is indeed the one proposed by the standard library, it is good for general-purpose application but may fall short for high-performance applications.

If you are okay with that, I may contribute to wRPC Go codebase by allowing users to pass custom Loggers using the API of https://github.com/go-logr/logr so they integrate better with:

  • The NATS Client wrapper,
  • The generated bindings,

WDYT?

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