-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Description
Golang's logging ecosystem is vast, and users expect various logging models to be supported. For instance, one of our enterprise customers expects slog support. Currently, the package expects a Logger interface passed as means to log its events. Apparently this is not flexible enough.
Options to consider:
- Remove logging altogether; return errors where appropriate.
- Add explicit support for
slogby adding aSetHandlermethod. - Simplify expected logger dependency by accepting a
logFnfunction with onemsgargument. Have a null logger as default.
Metadata
Metadata
Assignees
Labels
No labels