From b064642b026d59b5f1d019791ad52f804e9e9843 Mon Sep 17 00:00:00 2001 From: Andrew Walbran Date: Fri, 20 Jan 2023 10:56:49 +0000 Subject: [PATCH] Make program consistent with output given. --- src/android/logging/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/android/logging/src/main.rs b/src/android/logging/src/main.rs index 0a492b4e..39953458 100644 --- a/src/android/logging/src/main.rs +++ b/src/android/logging/src/main.rs @@ -15,7 +15,7 @@ // ANCHOR: main //! Rust logging demo. -use log::{debug, error}; +use log::{debug, error, info}; /// Logs a greeting. fn main() { @@ -25,5 +25,6 @@ fn main() { .with_min_level(log::Level::Trace), ); debug!("Starting program."); + info!("Things are going fine."); error!("Something went wrong!"); }