mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-06-16 09:43:45 +08:00
LOG_DEBUG by default for now
This commit is contained in:
@@ -44,7 +44,7 @@ pub const LOG_TRACE : u8 = 1;
|
||||
|
||||
|
||||
// per-thread log level and log format
|
||||
thread_local!(static loglevel: RefCell<u8> = RefCell::new(LOG_INFO));
|
||||
thread_local!(static loglevel: RefCell<u8> = RefCell::new(LOG_DEBUG));
|
||||
|
||||
pub fn set_loglevel(ll: u8) -> Result<(), String> {
|
||||
loglevel.with(move |level| {
|
||||
|
||||
Reference in New Issue
Block a user