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
We want to log the line to actually execute based on a provided condition. This is useful in case of heavy processing code (>10k ops per sec) and while it is good to log every event, it's best to log at a verbose level (debug, trace) and log some aggregate results at an INFO level
Similarly the original example, where we might have exponential retries put in and should log after every 5 failed retries
Example:
will only print the log when the condition is met
The text was updated successfully, but these errors were encountered: