diff --git a/td/telegram/Td.cpp b/td/telegram/Td.cpp index 4a978852..878644e9 100644 --- a/td/telegram/Td.cpp +++ b/td/telegram/Td.cpp @@ -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()); } -static int *get_log_verbosity_level(Slice name) { +int *Td::get_log_verbosity_level(Slice name) { if (name == "td_init") { return &VERBOSITY_NAME(td_init); } diff --git a/td/telegram/Td.h b/td/telegram/Td.h index 0ad59602..77775b51 100644 --- a/td/telegram/Td.h +++ b/td/telegram/Td.h @@ -303,6 +303,8 @@ class Td final : public NetQueryCallback { std::shared_ptr upload_file_callback_; + static int *get_log_verbosity_level(Slice name); + template Promise create_request_promise(uint64 id);