Using Logging in a gRPC Application
Learn how to configure logging in gRPC applications.
Configuring gRPC logging on the client and server
When our application runs in production, it's absolutely essential that it logs its actions. Without logging, we won't be able to diagnose any problems that occur and find an appropriate solution to them.
In .NET, gRPC logging is integrated with the rest of the application logging. To enable it, we'll need to configure the logging provider and set the logging level. This is what we'll look at in this lesson. We'll start with the setup presented in the code widget below.
Get hands-on with 1200+ tech skills courses.