grpc/test/cpp/server/load_reporter
Tanvi Jagtap 986428d252 [grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - gpr_log (#36636)
[grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - gpr_log
In this CL we are migrating from gRPCs own gpr logging mechanism to absl logging mechanism. The intention is to deprecate gpr_log in the future.

We have the following mapping

1. gpr_log(GPR_INFO,...) -> LOG(INFO)
2. gpr_log(GPR_ERROR,...) -> LOG(ERROR)
3. gpr_log(GPR_DEBUG,...) -> VLOG(2)

Reviewers need to check :

1. If the above mapping is correct.
2. The content of the log is as before.
gpr_log format strings did not use string_view or std::string . absl LOG accepts these. So there will be some elimination of string_view and std::string related conversions. This is expected.

Closes #36636

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36636 from tanvi-jagtap:regex_test_cpp f2cac9c5a4
PiperOrigin-RevId: 634954173
2024-05-17 20:10:09 -07:00
..
BUILD Revert "[grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - BUILD (#36607)" (#36625) 2024-05-15 10:18:57 -07:00
get_cpu_stats_test.cc [reorg] move test/core/util -> test/core/test_util (#36446) 2024-04-29 17:06:40 -07:00
load_data_store_test.cc [reorg] move test/core/util -> test/core/test_util (#36446) 2024-04-29 17:06:40 -07:00
load_reporter_test.cc [grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - gpr_log (#36636) 2024-05-17 20:10:09 -07:00