aboutsummaryrefslogtreecommitdiff
path: root/examples/loginfo.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/loginfo.rs')
-rw-r--r--examples/loginfo.rs4
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);
+ }
}