mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user