From 85492b52dca51488d4010de49b39885b595ab8cb Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Thu, 11 Jun 2020 13:12:49 -0500 Subject: [PATCH] Integrate env_logger. --- Cargo.toml | 1 + src/lib.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index db3e0eb..6985018 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,6 +8,7 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] +env_logger = "0.7" gdnative = "0.8" tts = "0.3" diff --git a/src/lib.rs b/src/lib.rs index d9d4971..44a1407 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -148,6 +148,7 @@ impl TTS { } fn init(handle: gdnative::init::InitHandle) { + env_logger::init(); handle.add_class::(); }