mirror of
https://github.com/emqx/neuron.git
synced 2026-10-28 22:59:34 +08:00
Rename neu_log log level enum to avoid name collision
This commit is contained in:
+2
-2
@@ -56,7 +56,7 @@ static void init()
|
||||
{
|
||||
nng_mtx_alloc(&log_mtx);
|
||||
log_set_lock(log_lock, log_mtx);
|
||||
log_set_level(LOG_DEBUG);
|
||||
log_set_level(NEU_LOG_DEBUG);
|
||||
g_logfile = fopen("neuron.log", "a");
|
||||
if (g_logfile == NULL) {
|
||||
fprintf(stderr,
|
||||
@@ -65,7 +65,7 @@ static void init()
|
||||
abort();
|
||||
}
|
||||
// log_set_quiet(true);
|
||||
log_add_fp(g_logfile, LOG_DEBUG);
|
||||
log_add_fp(g_logfile, NEU_LOG_DEBUG);
|
||||
}
|
||||
|
||||
static void uninit()
|
||||
|
||||
Reference in New Issue
Block a user