From 498765fa8dec2b5791bd1aa45173c41f4034dc75 Mon Sep 17 00:00:00 2001 From: levlam Date: Tue, 26 Mar 2019 16:24:29 +0300 Subject: [PATCH] Remove unused buffer log tag. GitOrigin-RevId: 0e0e831c2c555388d72dbe0554cd6185f56d78a6 --- td/telegram/Logging.cpp | 11 +++++------ tdutils/td/utils/logging.cpp | 1 - tdutils/td/utils/logging.h | 1 - 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/td/telegram/Logging.cpp b/td/telegram/Logging.cpp index 7ac1b490a..71c634172 100644 --- a/td/telegram/Logging.cpp +++ b/td/telegram/Logging.cpp @@ -37,12 +37,11 @@ static NullLog null_log; #define ADD_TAG(tag) \ { #tag, &VERBOSITY_NAME(tag) } static const std::map log_tags{ - ADD_TAG(td_init), ADD_TAG(update_file), ADD_TAG(connections), ADD_TAG(binlog), - ADD_TAG(proxy), ADD_TAG(net_query), ADD_TAG(td_requests), ADD_TAG(dc), - ADD_TAG(files), ADD_TAG(mtproto), ADD_TAG(raw_mtproto), ADD_TAG(fd), - ADD_TAG(actor), ADD_TAG(buffer), ADD_TAG(sqlite), ADD_TAG(notifications), - ADD_TAG(get_difference), ADD_TAG(file_gc), ADD_TAG(config_recoverer), ADD_TAG(dns_resolver), - ADD_TAG(file_references)}; + ADD_TAG(td_init), ADD_TAG(update_file), ADD_TAG(connections), ADD_TAG(binlog), + ADD_TAG(proxy), ADD_TAG(net_query), ADD_TAG(td_requests), ADD_TAG(dc), + ADD_TAG(files), ADD_TAG(mtproto), ADD_TAG(raw_mtproto), ADD_TAG(fd), + ADD_TAG(actor), ADD_TAG(sqlite), ADD_TAG(notifications), ADD_TAG(get_difference), + ADD_TAG(file_gc), ADD_TAG(config_recoverer), ADD_TAG(dns_resolver), ADD_TAG(file_references)}; #undef ADD_TAG Status Logging::set_current_stream(td_api::object_ptr stream) { diff --git a/tdutils/td/utils/logging.cpp b/tdutils/td/utils/logging.cpp index dcfe564ee..db4856a36 100644 --- a/tdutils/td/utils/logging.cpp +++ b/tdutils/td/utils/logging.cpp @@ -35,7 +35,6 @@ int VERBOSITY_NAME(mtproto) = VERBOSITY_NAME(DEBUG) + 7; int VERBOSITY_NAME(raw_mtproto) = VERBOSITY_NAME(DEBUG) + 10; int VERBOSITY_NAME(fd) = VERBOSITY_NAME(DEBUG) + 9; int VERBOSITY_NAME(actor) = VERBOSITY_NAME(DEBUG) + 10; -int VERBOSITY_NAME(buffer) = VERBOSITY_NAME(DEBUG) + 10; int VERBOSITY_NAME(sqlite) = VERBOSITY_NAME(DEBUG) + 10; LogOptions log_options; diff --git a/tdutils/td/utils/logging.h b/tdutils/td/utils/logging.h index 9894e0baa..9711a862b 100644 --- a/tdutils/td/utils/logging.h +++ b/tdutils/td/utils/logging.h @@ -117,7 +117,6 @@ extern int VERBOSITY_NAME(fd); extern int VERBOSITY_NAME(net_query); extern int VERBOSITY_NAME(td_requests); extern int VERBOSITY_NAME(actor); -extern int VERBOSITY_NAME(buffer); extern int VERBOSITY_NAME(files); extern int VERBOSITY_NAME(sqlite);