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

Switch Default Logging Library to slog with Logger Abstraction #1567

Open
chasefleming opened this issue May 3, 2024 · 1 comment
Open
Labels
Feature A new user feature or a new package API

Comments

@chasefleming
Copy link
Member

Switch the default logging library to slog. Additionally, abstract the logger logic to seamlessly support other logging libraries like zerolog.

Steps

  1. Integration: Incorporate slog as the default logging library.
  2. Abstraction Layer: Implement a logger abstraction for compatibility with different logging libraries.
  3. Adapters: Develop adapters for specific logging libraries (e.g., zerolog) to conform to the common interface.
  4. Testing: Ensure the logger abstraction and adapters function correctly with various logging libraries.
  5. Documentation: Update project documentation to reflect the changes and guide users on configuring/logging library options.
@chasefleming chasefleming added the Feature A new user feature or a new package API label May 3, 2024
@bjartek
Copy link
Collaborator

bjartek commented May 13, 2024

This might be handy https://github.com/samber/slog-zerolog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature A new user feature or a new package API
Projects
Status: 🔖 Ready for Pickup
Development

No branches or pull requests

2 participants