sirupsen / logrus

Structured, pluggable logging for Go.
MIT License
24.59k stars 2.27k forks source link

Feature: Add slog compatibility layer #1401

Closed flimzy closed 10 months ago

flimzy commented 1 year ago

I know this project is in maintenence mode, but I think it would be worth making an exception to the "no new features" rule to add a simple slog compatibility layer, as the alternative is some minor chaos when others create competing implementations, and inevitably abandon them.

This could take one, or even two, forms:

I would be happy to take this on and write the code (I have a partial implementation already completed for a client I'm working with).

ripienaar commented 1 year ago

Would love to see this accepted in core logrus also.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

flimzy commented 1 year ago

I've begun work on this, and intend to create a PR before too long.

github-actions[bot] commented 11 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 10 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.