Skip to content

Add WithDefaultLevel option to set the default log level#35

Merged
veqryn merged 1 commit intoveqryn:mainfrom
fsaintjacques:grpc-request-default-level
Aug 29, 2025
Merged

Add WithDefaultLevel option to set the default log level#35
veqryn merged 1 commit intoveqryn:mainfrom
fsaintjacques:grpc-request-default-level

Conversation

@fsaintjacques
Copy link
Copy Markdown
Contributor

In high volume systems, the default log level of sloggrpc.SlogUnaryServerInterceptor might be too verbose. This option allows you to set the default log level to a more appropriate level, e.g. slog.LevelDebug.

In high volume systems, the default log level of sloggrpc.SlogUnaryServerInterceptor
might be too verbose. This option allows you to set the default log level to a more
appropriate level, e.g. slog.LevelDebug.
Copy link
Copy Markdown
Owner

@veqryn veqryn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. Thank you!

@veqryn veqryn merged commit a463bb0 into veqryn:main Aug 29, 2025
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants