diff options
Diffstat (limited to 'examples/loginfo.rs')
-rw-r--r-- | examples/loginfo.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/loginfo.rs b/examples/loginfo.rs index 927ff52..978fede 100644 --- a/examples/loginfo.rs +++ b/examples/loginfo.rs @@ -36,4 +36,8 @@ fn main() { } println!("Number of recorded events: {}", log.events().len()); + + for error in log.errors() { + println!("Error in log: {}", error); + } } |