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
Hey - I believe you should be able to do this with some botClient middlewares to intercept getUpdate API calls and log them. There are some examples in the middlewareBot sample (except that just changes some parameters rather than logging output)
And I'm sorry I didn't express my meaning clearly😂. My original thought was adding more logs for easier debugging. Here the places where I think need logs:
the CheckUpdate method in every Handler (debug level)
My apologies, I've really dropped the ball on replying here!
Thank you for your explanation - I understand better now. I can see why you're asking for these things, and I think most of it ties back to #97. It'll be much easier to provide logging levels/interfaces once i adopt the new slog packages.
Once that's done, we can extend the dispatcher to print debug information on what to iterate over. Thank you for the suggestion!
Sometimes we may need see what the raw response data returned by
getUpdates
is to debug 😄The text was updated successfully, but these errors were encountered: