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
if wrapper have called method - run it before original logger method
if wrapper does not have called method - run original logger method
implement wrapper that based on some ctx value override logger level - to be able to see debug logs for specific request or specific user ip (remote host addr). wrapper contains two parts - one is wrapper for server subscriber and for server handler that injects some stuff to ctx, another - logger wrapper that returns calls not logger.V method, but logger.VContext(ctx, logger.Level)
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: