aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--LuaSL/src/LuaSL_utilities.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/LuaSL/src/LuaSL_utilities.c b/LuaSL/src/LuaSL_utilities.c
index 1675a92..6a111a2 100644
--- a/LuaSL/src/LuaSL_utilities.c
+++ b/LuaSL/src/LuaSL_utilities.c
@@ -38,12 +38,8 @@ void loggingStartup(gameGlobals *game)
38 EINA_LOG_CRIT("could not register log domain 'LuaSL'"); 38 EINA_LOG_CRIT("could not register log domain 'LuaSL'");
39 } 39 }
40 // TODO - should unregister this later. 40 // TODO - should unregister this later.
41 eina_log_level_set(EINA_LOG_LEVEL_DBG); 41 eina_log_level_set(EINA_LOG_LEVEL_DBG);
42 eina_log_domain_level_set("LuaSL", EINA_LOG_LEVEL_DBG); 42 eina_log_domain_level_set("LuaSL", EINA_LOG_LEVEL_DBG);
43// TODO - use a different domain for those things we need to log for legal reasons.
44// Setup a callback that calls both the usual stderr callback AND the file one,
45// but sending ggg domain messages to one file, and legal ones to another.
46// Don't bother sending the ggg ones to the file if we are not embedded, we can see them on the terminal.
47 eina_log_print_cb_set(_ggg_log_print_cb, stderr); 43 eina_log_print_cb_set(_ggg_log_print_cb, stderr);
48} 44}
49 45