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:
parent
536c1dc90b
commit
b064642b02
@ -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!");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user