pub fn initialize_logger<P: AsRef<Path>>(
verbosity: u8,
log_filter: &Option<String>,
nodisplay: bool,
logfile: P,
shutdown: Arc<AtomicBool>,
) -> Result<Receiver<Vec<u8>>>Expand description
Sets the log filter based on the given verbosity level.
ⓘ
0 => info
1 => info, debug
2 => info, debug, trace, snarkos_node_sync=trace
3 => info, debug, trace, snarkos_node_bft=trace
4 => info, debug, trace, snarkos_node_bft::gateway=trace,
[mio|tokio_util|hyper|reqwest|want|h2|tower|axum]=warn
5 => info, debug, trace, snarkos_node_router=trace
6 => info, debug, trace, snarkos_node_tcp=trace