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

This commit is contained in:
josteph 2019-10-11 03:37:01 +00:00 committed by jostephd
parent af18da97e8
commit 1098c3dc81

View file

@ -24,7 +24,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)