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
hcsshim currently uses logrus to implement its own logging interface. This approach is counterintuitive when hcsshim is used as a library.
As a library consumer, I would prefer the ability to inject my own logging system. In my case, I am using log/slog from the standard library.
Adopting a stdlib logger as the standard might be a better idea, as other loggers can provide adapters for compatibility. For example, slog-zap demonstrates how such adapters can be implemented.