There was an error while loading. Please reload this page.
1 parent c416bde commit f71727aCopy full SHA for f71727a
1 file changed
grpc/src/ugrpc/server/middlewares/log/middleware.hpp
@@ -37,11 +37,11 @@ struct Settings final {
37
/// Local log level of the server span
38
/// It applies to logs in user-provided handler
39
/// @ref tracing::Span::SetLocalLogLevel
40
- std::optional<logging::Level> local_log_level;
+ std::optional<logging::Level> local_log_level{};
41
42
/// map of "status_code": log_level items to override span log level for specific status codes
43
/// see @ref ugrpc::kStatusCodesMap for available statuses
44
- boost::container::flat_map<grpc::StatusCode, logging::Level> status_codes_log_level;
+ boost::container::flat_map<grpc::StatusCode, logging::Level> status_codes_log_level{};
45
};
46
47
class Middleware final : public MiddlewareBase {
0 commit comments