Eina log: Fix previous commit (ERR & CRI -> bt)
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 12 May 2015 10:34:55 +0000 (19:34 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 12 May 2015 10:37:25 +0000 (19:37 +0900)
This was a < comparison, not <=
I don't totally agree on taking the bts for each error... just try
to cat a binary file in terminology and have fun.

src/lib/eina/eina_log.c

index a9eb9aa..6fc9626 100644 (file)
@@ -121,7 +121,7 @@ static Eina_Bool _disable_timing = EINA_TRUE;
 static int _abort_level_on_critical = EINA_LOG_LEVEL_CRITICAL;
 
 #ifdef EINA_LOG_BACKTRACE
-static int _backtrace_level = 1; // CRI & ERR by default
+static int _backtrace_level = 2; // CRI & ERR by default
 #endif
 
 static Eina_Bool _threads_enabled = EINA_FALSE;