From a1f97d3ea5fa3ef5d3e52501dfaccf7c30c14128 Mon Sep 17 00:00:00 2001 From: "hyunghwan.chung" Date: Thu, 11 Feb 2021 13:59:03 +0000 Subject: [PATCH] changed the default logging mask to 0 --- moo/lib/moo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moo/lib/moo.c b/moo/lib/moo.c index bf7d3cf..cbabce1 100644 --- a/moo/lib/moo.c +++ b/moo/lib/moo.c @@ -116,8 +116,8 @@ int moo_init (moo_t* moo, moo_mmgr_t* mmgr, moo_cmgr_t* cmgr, const moo_vmprim_t if (!moo->vmprim.alloc_heap) moo->vmprim.alloc_heap = alloc_heap; if (!moo->vmprim.free_heap) moo->vmprim.free_heap = free_heap; - /*moo->option.log_mask = ~0u;*/ - moo->option.log_mask = MOO_LOG_ALL_LEVELS | MOO_LOG_ALL_TYPES; + /*moo->option.log_mask = MOO_LOG_ALL_LEVELS | MOO_LOG_ALL_TYPES;*/ + moo->option.log_mask = (moo_bitmask_t)0; /* log nothing by default */ moo->option.log_maxcapa = MOO_DFL_LOG_MAXCAPA; moo->option.dfl_symtab_size = MOO_DFL_SYMTAB_SIZE; moo->option.dfl_sysdic_size = MOO_DFL_SYSDIC_SIZE;