bitcoin-log 0.1.20

abstractions around the system logger
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// ---------------- [ File: bitcoin-log/src/defaults.rs ]
crate::ix!();

//-------------------------------------------[.cpp/bitcoin/src/logging.h]

pub const DEFAULT_LOGTIMEMICROS:      bool = false;
pub const DEFAULT_LOGIPS:             bool = false;
pub const DEFAULT_LOGTIMESTAMPS:      bool = true;
pub const DEFAULT_LOGTHREADNAMES:     bool = false;
pub const DEFAULT_LOGSOURCELOCATIONS: bool = false;

pub const DEFAULT_DEBUGLOGFILE: &'static str = "debug.log";

lazy_static!{
    pub static ref LOG_IPS: bool = DEFAULT_LOGIPS;
}