deprecation: Log DEP_LEVEL::FOR_REMOVAL and DEP_LEVEL::REMOVED by default

(cherry picked from commit 1098c3dc81)
This commit is contained in:
josteph 2019-10-11 03:37:01 +00:00
parent 7e4a8b2d1d
commit 94698fb4eb

View file

@ -25,7 +25,7 @@
// 0 would mean log errors only.
// 1 would mean log errors and warnings.
// and so on and so on.
static lg::log_domain log_deprecate("deprecation", -1);
static lg::log_domain log_deprecate("deprecation", 0);
std::string deprecated_message(
const std::string& elem_name, DEP_LEVEL level, const version_info& version, const std::string& detail)