Closed rands0n closed 2 years ago
Is your feature request related to a problem? Please describe.
When using intercept GRPC.Logger.Server, level: :info. I want to show only this level of the log.
intercept GRPC.Logger.Server, level: :info
If I do it now, it will transform all logs, even info, warn, and error to the option I specified.
info
warn
error
Describe the solution you'd like
I think we could have an option, only: true. This will say that I want only log of this type, and not other types.
only: true
Describe alternatives you've considered
None.
Additional context
Not applicable.
Stumbled upon this; you could just "duplicate" GRPC.Logger.Server and modify it according to you needs.
GRPC.Logger.Server
Is your feature request related to a problem? Please describe.
When using
intercept GRPC.Logger.Server, level: :info
. I want to show only this level of the log.If I do it now, it will transform all logs, even
info
,warn
, anderror
to the option I specified.Describe the solution you'd like
I think we could have an option,
only: true
. This will say that I want only log of this type, and not other types.Describe alternatives you've considered
None.
Additional context
Not applicable.