logrus icon indicating copy to clipboard operation
logrus copied to clipboard

Feature: Add slog compatibility layer

Open flimzy opened this issue 2 years ago • 5 comments

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:

  • [ ] A slog hook for Logrus https://github.com/sirupsen/logrus/pull/1407
  • [ ] A Logrus handler for slog TODO

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).

flimzy avatar Sep 01 '23 08:09 flimzy

Would love to see this accepted in core logrus also.

ripienaar avatar Sep 01 '23 08:09 ripienaar

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

github-actions[bot] avatar Oct 02 '23 01:10 github-actions[bot]

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

flimzy avatar Oct 02 '23 08:10 flimzy

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

github-actions[bot] avatar Nov 03 '23 01:11 github-actions[bot]

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

github-actions[bot] avatar Nov 24 '23 01:11 github-actions[bot]