aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2017-10-08 15:42:38 -0700
committerJoe Wilm <jwilm@users.noreply.github.com>2017-10-08 22:20:58 -0700
commit619e8778196104adb26bc9e735245d330a98ff38 (patch)
tree8ab5ed2e0da8d170cf2f477d50a172e03fa239b9 /src/lib.rs
parent31d1087b8614ddd423a6c522d91a1d93a37cd92e (diff)
downloadalacritty-619e8778196104adb26bc9e735245d330a98ff38.tar.gz
alacritty-619e8778196104adb26bc9e735245d330a98ff38.zip
Add support for env_logger
When RUST_LOG environment variable is set, uses env_logger instead of our custom logger. This is desirable for debugging purposes.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index d48ab93b..255215c7 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -33,6 +33,7 @@ extern crate arraydeque;
extern crate cgmath;
extern crate copypasta;
extern crate errno;
+extern crate env_logger;
extern crate fnv;
extern crate font;
extern crate glutin;