50
bool BaseLogLocation::EvalLogLevel(int32_t level, string &fileName, uint32_t lineNumber,
51
string &functionName, string &message) {
52
return EvalLogLevel(level);
55
bool BaseLogLocation::EvalLogLevel(int32_t level, string fileName, uint32_t lineNumber,
56
string functionName, Variant &le) {
57
return EvalLogLevel(level);
60
bool BaseLogLocation::Init() {
61
if (_configuration.HasKeyChain(_V_NUMERIC, false, 1,
62
CONF_LOG_APPENDER_SPECIFIC_LEVEL))
63
_specificLevel = (int32_t) _configuration.GetValue(
64
CONF_LOG_APPENDER_SPECIFIC_LEVEL, false);
65
if (_configuration.HasKeyChain(V_BOOL, false, 1, CONF_LOG_APPENDER_SINGLE_LINE))
66
_singleLine = (bool)_configuration.GetValue(
67
CONF_LOG_APPENDER_SINGLE_LINE, false);
71
bool BaseLogLocation::EvalLogLevel(int32_t level) {
72
if (_specificLevel != 0) {
73
if (_specificLevel != level)
77
if (_level < 0 || level > _level)