diff options
Diffstat (limited to 'components/servo/main.rs')
-rw-r--r-- | components/servo/main.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/servo/main.rs b/components/servo/main.rs index ef12ef2171a..5ffc75d911f 100644 --- a/components/servo/main.rs +++ b/components/servo/main.rs @@ -28,6 +28,7 @@ extern crate util; // The window backed by glutin extern crate glutin_app as app; extern crate time; +extern crate env_logger; #[cfg(target_os="android")] #[macro_use] @@ -43,6 +44,8 @@ use compositing::windowing::WindowEvent; use std::borrow::ToOwned; fn main() { + env_logger::init().unwrap(); + // Parse the command line options and store them globally if opts::from_cmdline_args(&*get_args()) { setup_logging(); |