Update argument handling and tracing args

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
2021-05-21 12:35:14 +02:00
parent 70de97d761
commit f9eeb4b6bc

View File

@@ -9,9 +9,7 @@ use viperus::Viperus;
/// The given Viperus structure will be muted according to the /// The given Viperus structure will be muted according to the
/// processed default, environment and commandline arguments /// processed default, environment and commandline arguments
pub fn parse_args(v: &mut Viperus) -> Result<(), Box<dyn std::error::Error>> { pub fn parse_args(v: &mut Viperus) -> Result<(), Box<dyn std::error::Error>> {
//use log::{debug, info, trace, warn}; use tracing::trace;
//use log::trace;
use tracing::{trace, Level};
use std::env; use std::env;
if cfg!(feature = "yaml") { if cfg!(feature = "yaml") {