summaryrefslogtreecommitdiff
path: root/src/include/eina_inline_log.x
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/eina_inline_log.x')
-rw-r--r--src/include/eina_inline_log.x4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/eina_inline_log.x b/src/include/eina_inline_log.x
index 4cdd7d8..53d8afb 100644
--- a/src/include/eina_inline_log.x
+++ b/src/include/eina_inline_log.x
@@ -49,7 +49,7 @@
49static inline Eina_Bool 49static inline Eina_Bool
50eina_log_level_check(int level) 50eina_log_level_check(int level)
51{ 51{
52 return eina_log_level_get() <= level; 52 return eina_log_level_get() >= level;
53} 53}
54 54
55/** 55/**
@@ -81,7 +81,7 @@ eina_log_domain_level_check(int domain, int level)
81 int dom_level = eina_log_domain_registered_level_get(domain); 81 int dom_level = eina_log_domain_registered_level_get(domain);
82 if (EINA_UNLIKELY(dom_level == EINA_LOG_LEVEL_UNKNOWN)) 82 if (EINA_UNLIKELY(dom_level == EINA_LOG_LEVEL_UNKNOWN))
83 return EINA_FALSE; 83 return EINA_FALSE;
84 return dom_level <= level; 84 return dom_level >= level;
85} 85}
86 86
87/** 87/**