Add trace output

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2019-10-20 14:47:07 +02:00
parent 2a23002a07
commit eb85635bef

View file

@ -124,6 +124,7 @@ fn read<'a, 'e, I>(rt: &Runtime, mtch: &ArgMatches<'a>, iter: I) -> i32
debug!("Processing headers: reading value"); debug!("Processing headers: reading value");
let header_path = get_header_path(mtch, "header-value-path"); let header_path = get_header_path(mtch, "header-value-path");
let mut output = rt.stdout(); let mut output = rt.stdout();
trace!("Got output: {:?}", output);
iter.fold(0, |accu, entry| { iter.fold(0, |accu, entry| {
trace!("Processing headers: working on {:?}", entry.get_location()); trace!("Processing headers: working on {:?}", entry.get_location());