diff options
author | Craig Tiller <ctiller@google.com> | 2017-10-16 13:50:29 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-10-16 13:50:29 -0700 |
commit | 6014e8a945fa81fad7d0311a8a7cded0c2aaa827 (patch) | |
tree | 179de89f5b6bbaf861a6a9c0bcd2e4b5cfb83aca /src/core/lib/security/credentials/oauth2 | |
parent | 4979ce5f9341ff72c5974bd86e101016438660f0 (diff) |
C++ize tracing
Diffstat (limited to 'src/core/lib/security/credentials/oauth2')
-rw-r--r-- | src/core/lib/security/credentials/oauth2/oauth2_credentials.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc b/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc index f52a424e36..8258bd7cd1 100644 --- a/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +++ b/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc @@ -467,7 +467,7 @@ grpc_call_credentials *grpc_google_refresh_token_credentials_create( const char *json_refresh_token, void *reserved) { grpc_auth_refresh_token token = grpc_auth_refresh_token_create_from_string(json_refresh_token); - if (GRPC_TRACER_ON(grpc_api_trace)) { + if (grpc_api_trace.enabled()) { char *loggable_token = create_loggable_refresh_token(&token); gpr_log(GPR_INFO, "grpc_refresh_token_credentials_create(json_refresh_token=%s, " |