refactor(logging): move from log to tracing

This commit is contained in:
Paolo Barbolini
2020-08-28 12:19:35 +02:00
committed by Alexis Mousset
parent 41d68616e0
commit 542ea4ffd2
11 changed files with 35 additions and 35 deletions

View File

@@ -1,7 +1,7 @@
use lettre::{Message, SmtpTransport, Transport};
fn main() {
env_logger::init();
tracing_subscriber::fmt::init();
let email = Message::builder()
.from("NoBody <nobody@domain.tld>".parse().unwrap())