1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2024-12-03 11:09:12 +02:00

Make program consistent with output given.

This commit is contained in:
Andrew Walbran 2023-01-20 10:56:49 +00:00
parent 536c1dc90b
commit b064642b02

View File

@ -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!");
}