Updated hpfs binary off_t return type fix. Introduced hpfs log level to hp config. (#300)

Updated hpfs binary off_t return type fix. Introduced hpfs log level to hp config
This commit is contained in:
Ravin Perera
2021-05-02 08:54:40 +05:30
committed by GitHub
parent 4f82afe5b1
commit a8ae9c5876
5 changed files with 51 additions and 32 deletions

View File

@@ -61,11 +61,11 @@ namespace hplog
{
plog::Severity level;
if (conf::cfg.log.loglevel_type == conf::LOG_SEVERITY::DEBUG)
if (conf::cfg.log.log_level_type == conf::LOG_SEVERITY::DEBUG)
level = plog::Severity::debug;
else if (conf::cfg.log.loglevel_type == conf::LOG_SEVERITY::INFO)
else if (conf::cfg.log.log_level_type == conf::LOG_SEVERITY::INFO)
level = plog::Severity::info;
else if (conf::cfg.log.loglevel_type == conf::LOG_SEVERITY::WARN)
else if (conf::cfg.log.log_level_type == conf::LOG_SEVERITY::WARN)
level = plog::Severity::warning;
else
level = plog::Severity::error;