grpc/test/core/util
Tanvi Jagtap 0ed095093c [grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - gpr_log (#36703)
[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 #36703

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36703 from tanvi-jagtap:test_core_gpr_log_01 26c4307b08
PiperOrigin-RevId: 636801504
2024-05-23 23:15:14 -07:00
..
BUILD [reorg] move test/core/gpr -> test/core/util (#36641) 2024-05-16 18:27:41 -07:00
alloc_test.cc [reorg] move test/core/gpr -> test/core/util (#36641) 2024-05-16 18:27:41 -07:00
cpu_test.cc [reorg] move test/core/gpr -> test/core/util (#36641) 2024-05-16 18:27:41 -07:00
env_test.cc [grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - gpr_log (#36703) 2024-05-23 23:15:14 -07:00
log_test.cc [reorg] move test/core/gpr -> test/core/util (#36641) 2024-05-16 18:27:41 -07:00
spinlock_test.cc [reorg] move test/core/gpr -> test/core/util (#36641) 2024-05-16 18:27:41 -07:00
string_test.cc [reorg] move test/core/gpr -> test/core/util (#36641) 2024-05-16 18:27:41 -07:00
sync_test.cc [reorg] move test/core/gpr -> test/core/util (#36641) 2024-05-16 18:27:41 -07:00
time_test.cc [reorg] move test/core/gpr -> test/core/util (#36641) 2024-05-16 18:27:41 -07:00
useful_test.cc [reorg] move test/core/gpr -> test/core/util (#36641) 2024-05-16 18:27:41 -07:00