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
Right now the types.Logger interface only has two methods DebugF and Errorf with the same signature format string, v ...interface{}. This makes it difficult to incorporate custom loggers which may expect err as the first parameter.
The text was updated successfully, but these errors were encountered:
@tigrannajaryan I'm coming back to this now with a similar issue. I'm wondering if we could add new methods that allow for the propagation of context. This would be similar to the slog package which allows consumers to supply a context when they would like to propagate it. I'll work on a PR to prototype this.
Right now the types.Logger interface only has two methods
DebugF
andErrorf
with the same signatureformat string, v ...interface{}
. This makes it difficult to incorporate custom loggers which may expecterr
as the first parameter.The text was updated successfully, but these errors were encountered: