Move get_log_verbosity_level inside Td.
GitOrigin-RevId: 70f6e9a9dae625b0fe3b0927ea227a19e58e18d2
This commit is contained in:
parent
e13ed83a36
commit
5caac7f47a
@ -6911,7 +6911,7 @@ void Td::on_request(uint64 id, td_api::testGetDifference &request) {
|
|||||||
send_closure(actor_id(this), &Td::send_result, id, make_tl_object<td_api::ok>());
|
send_closure(actor_id(this), &Td::send_result, id, make_tl_object<td_api::ok>());
|
||||||
}
|
}
|
||||||
|
|
||||||
static int *get_log_verbosity_level(Slice name) {
|
int *Td::get_log_verbosity_level(Slice name) {
|
||||||
if (name == "td_init") {
|
if (name == "td_init") {
|
||||||
return &VERBOSITY_NAME(td_init);
|
return &VERBOSITY_NAME(td_init);
|
||||||
}
|
}
|
||||||
|
@ -303,6 +303,8 @@ class Td final : public NetQueryCallback {
|
|||||||
|
|
||||||
std::shared_ptr<UploadFileCallback> upload_file_callback_;
|
std::shared_ptr<UploadFileCallback> upload_file_callback_;
|
||||||
|
|
||||||
|
static int *get_log_verbosity_level(Slice name);
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
Promise<T> create_request_promise(uint64 id);
|
Promise<T> create_request_promise(uint64 id);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user