File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -740,7 +740,7 @@ class CliClient final : public Actor {
740
740
}
741
741
}
742
742
743
- if (id > 0 && GET_VERBOSITY_LEVEL () < VERBOSITY_NAME (td_requests)) {
743
+ if (id > 0 && combined_log. get_first_verbosity_level () < VERBOSITY_NAME (td_requests)) {
744
744
LOG (ERROR) << " Receive result [" << generation << " ][id=" << id << " ] " << result_str;
745
745
}
746
746
@@ -859,7 +859,7 @@ class CliClient final : public Actor {
859
859
}
860
860
861
861
void on_error (uint64 generation, uint64 id, td_api::object_ptr<td_api::error> error) {
862
- if (id > 0 && GET_VERBOSITY_LEVEL () < VERBOSITY_NAME (td_requests)) {
862
+ if (id > 0 && combined_log. get_first_verbosity_level () < VERBOSITY_NAME (td_requests)) {
863
863
LOG (ERROR) << " Receive error [" << generation << " ][id=" << id << " ] " << to_string (error);
864
864
}
865
865
}
@@ -1561,11 +1561,11 @@ class CliClient final : public Actor {
1561
1561
}
1562
1562
1563
1563
static td_api::object_ptr<td_api::Object> execute (td_api::object_ptr<td_api::Function> f) {
1564
- if (GET_VERBOSITY_LEVEL () < VERBOSITY_NAME (td_requests)) {
1564
+ if (combined_log. get_first_verbosity_level () < VERBOSITY_NAME (td_requests)) {
1565
1565
LOG (ERROR) << " Execute request: " << to_string (f);
1566
1566
}
1567
1567
auto res = ClientActor::execute (std::move (f));
1568
- if (GET_VERBOSITY_LEVEL () < VERBOSITY_NAME (td_requests)) {
1568
+ if (combined_log. get_first_verbosity_level () < VERBOSITY_NAME (td_requests)) {
1569
1569
LOG (ERROR) << " Execute response: " << to_string (res);
1570
1570
}
1571
1571
return res;
You can’t perform that action at this time.
0 commit comments