Commit graph

10 commits

Author SHA1 Message Date
1c723a9a0e Move trace_error() functionality from libimagutil to libimagerror 2016-05-17 20:28:02 +02:00
f22624302c Make trace() output red 2016-05-15 17:47:01 +02:00
Andre Bogus
981707c9c9 more style adaptations
again following clippy
2016-05-13 22:27:53 +02:00
f6e59c355e Remove "caused by" marker
As we are in debug mode anyways, a developer using this should know by
the trace number that the next line is the cause.

As we use the debug!() macro here, this would be printed on a new line,
which is rather distracting instead of helpful. Therefor this patch
removes this line.
2016-04-22 15:10:24 +02:00
ad4e73399f Make trace() output a bit nicer 2016-04-21 16:36:13 +02:00
a636040907 Use unused results by calling write!() with .ok() 2016-04-16 22:31:42 +02:00
8657d401cb Add another missing newline character 2016-03-25 13:29:59 +01:00
cd6e000be8 trace: Add missing newline 2016-03-12 16:06:10 +01:00
0a8eaa1411 Add documentation of functions 2016-02-11 15:48:41 +01:00
d8ae741f31 Add error tracing utility 2016-02-11 15:48:41 +01:00