Tanvi Jagtap
9cbde967bb
[grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - gpr_log ( #36517 )
...
[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)
Closes #36517
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36517 from tanvi-jagtap:gpr_log_init 4c886dafff7e8fecffd623d13cc0548c6fcce787
PiperOrigin-RevId: 630551354
2024-05-03 18:37:34 -07:00
Craig Tiller
67f364e23e
[cleanup] Eliminate usage of GRPC_ASSERT(false...); ( #31757 )
...
* crash function
* progress
* fix
* fix
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fixes
* Automated change: Fix sanity tests
* fix
* Automated change: Fix sanity tests
* fix
* fix
* use cpp attr
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
* fix
* fix
* add exclusion
* fix
* typo
* fix
* fmt
* Update tcp_socket_utils.cc
* Automated change: Fix sanity tests
* fix
* revert php changes
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com >
2023-01-11 08:50:32 -08:00
cut4th
aa2956b05b
Change ProtoReflectionDescriptorDatabase to take grpc::ChannelInterface. ( #31858 )
...
Updates the ProtoReflectionDescriptorDatabase ctor to take a reference
to std::shared_ptr<grpc::ChannelInterface> rather than
std::shared_ptr<grpc::Channel>. This helps code that is making use of
grpc::ChannelInterface from having to perform a cast from the Base to
the Derived when creating the refelction db.
2023-01-06 18:05:38 -08:00
Yijie Ma
f99b8b5bc4
Convert c-style comments to C++-style comments ( #31923 )
...
* baseline
* fix clang-tidy
* manually revert these files
* manually fixup at eof
* revert 2 more files
* change check_deprecated_grpc++.py
* change end2end_defs.include template
* fix check_include_guards.py
* untrack tools/distrib/python/convert_cstyle_comments_to_cpp.py
not yet ready to be submitted
* fix
yapf check_include_guards.py
remove a space...
* fix version.cc.template
* fix version_info.h.template
2022-12-22 23:01:53 -08:00
Esun Kim
a41a206b8c
Fix readability-const-return-type,readability-delete-null-pointer,readability-simplify-boolean-expr ( #25628 )
2021-03-09 21:30:35 -08:00
Esun Kim
165ee5007a
Replaced grpc::string with std::string
2020-06-29 17:56:36 -07:00
yang-g
8f77928e04
Log error to stderr
2019-03-26 14:13:40 -07:00
Noah Eisen
58e0cbf9fb
Enable the performance-* clang-tidy checks
2018-06-14 14:58:09 -04:00
Noah Eisen
4d20a66685
Run clang fmt
2018-02-09 09:34:04 -08:00
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
2018-02-09 09:16:55 -08:00
Carl Mastrangelo
16cca9f4c1
Check return values from ServiceReflection calls, and print a more helpful message
2018-02-06 12:29:01 -08:00
Craig Tiller
baa14a975e
Update clang-format to 5.0
2017-11-03 09:09:36 -07:00
Jan Tattermusch
7897ae9308
auto-fix most of licenses
2017-06-08 11:22:41 +02:00
Yuchen Zeng
a2e50c5b85
Merge pull request #8190 from y-zeng/proto_db
...
Improve ProtoReflectionDescriptorDatabase
2016-10-05 13:39:02 -07:00
David Garcia Quintas
f042481403
s/std::string/grpc::string
2016-10-04 13:33:46 -07:00
Yuchen Zeng
15bc4627de
Rename variables ... again
2016-09-27 16:22:35 -07:00
Yuchen Zeng
e529ea3928
Rename variables
2016-09-27 16:18:11 -07:00
Yuchen Zeng
27170357ab
Improve ProtoReflectionDescriptorDatabase
2016-09-23 14:14:18 -07:00
Yuchen Zeng
02139a05dc
Add CliCredentials, config_grpc_cli.h
2016-08-15 11:34:21 -07:00
kpayson64
b5fa72c89e
Merge pull request #7451 from y-zeng/seperate_generated_files
...
Separate generated pb files from the server reflection build target, use grpc::protobuf instead of google::protobuf
2016-07-25 14:32:51 -07:00
Yuchen Zeng
9cb9445155
Addressed review comments
2016-07-20 16:39:31 -07:00
Yuchen Zeng
1318479011
Separate generated file and protobuf dependency
2016-07-18 13:07:42 -07:00
Yuchen Zeng
256cc7aa03
Support server reflection in CLI
2016-07-07 11:09:49 -07:00
Vijay Pai
6b668cc93f
Remove range-based for, comparisons to nullptr
2016-06-16 07:49:36 +00:00
Yuchen Zeng
1495cb5b24
Addressed reveiw comments about naming
2016-06-06 10:58:29 -07:00
Yuchen Zeng
c92fe25af5
Add mutex for stream in ProtoReflectionDescriptorDatabase, fix headers check
2016-05-25 07:18:57 -07:00
Yuchen Zeng
ace4986e65
Update reflection implementation along with API changes
2016-05-19 15:10:22 -07:00
Yuchen Zeng
0333a49afa
Use stream rpc to ensure all related requests go to a single server.
2016-05-05 16:29:43 -07:00
Yuchen Zeng
c84ed6813e
Proto server reflection
2016-05-04 16:57:08 -07:00