Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Pino Logger usage to allow any logger #2502

Open
brendarearden opened this issue Mar 21, 2024 · 0 comments
Open

Refactor Pino Logger usage to allow any logger #2502

brendarearden opened this issue Mar 21, 2024 · 0 comments

Comments

@brendarearden
Copy link
Contributor

brendarearden commented Mar 21, 2024

Context

Any logger should be able to be passed into the prism createInstance as long as it has matching log levels

Current Behavior

Our current logger implementation is not generic and specifically requires a pino logger instance.

Expected Behavior

A user should be able to provide any logger, as long as it has the log levels needed by prism.

Possible Solution(s)

Create a logger contract in this library

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

No branches or pull requests

1 participant