You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An io.Writer is very generic but would also imply losing some features such as log levels and structured logging. In general, the format could be potentially inconsistent across logs coming from different subsystems.
Looking for alternatives, I've found that log/slog seems to address the common logging interface topic by providing a frontend/backend decoupled design. The frontend can be backed by any logging system implementing slog.Handler.
Considering also that it's part of the standard library, I think it could be a good replacement for the current logger interface that cron requires.
See robfig/cron#508
The text was updated successfully, but these errors were encountered: