refactor(logging): move from log to tracing
This commit is contained in:
committed by
Alexis Mousset
parent
41d68616e0
commit
542ea4ffd2
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user