Update argument handling and tracing args
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
@@ -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") {
|
||||||
|
|||||||
Reference in New Issue
Block a user