diff options
author | Alan Jeffrey <ajeffrey@mozilla.com> | 2016-06-22 17:11:08 -0500 |
---|---|---|
committer | Alan Jeffrey <ajeffrey@mozilla.com> | 2016-07-15 13:44:44 -0500 |
commit | 44422744ff7f095998b07ded6af8fa0420417405 (patch) | |
tree | 293cf34c3972e4d9c66b6792394e4987110f7d50 /components/servo/main.rs | |
parent | 175340d1461c3474b49f88131b84298b8d097d36 (diff) | |
download | servo-44422744ff7f095998b07ded6af8fa0420417405.tar.gz servo-44422744ff7f095998b07ded6af8fa0420417405.zip |
Sent log messages to the constellation.
Diffstat (limited to 'components/servo/main.rs')
-rw-r--r-- | components/servo/main.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/components/servo/main.rs b/components/servo/main.rs index 66f5a149158..954c3f0e848 100644 --- a/components/servo/main.rs +++ b/components/servo/main.rs @@ -22,7 +22,6 @@ extern crate android_glue; #[cfg(not(target_os = "android"))] extern crate backtrace; -extern crate env_logger; // The window backed by glutin extern crate glutin_app as app; #[cfg(target_os = "android")] @@ -96,8 +95,6 @@ fn main() { }; initiate_panic_hook(); - env_logger::init().unwrap(); - setup_logging(); if let Some(token) = content_process_token { @@ -117,6 +114,8 @@ fn main() { browser: Browser::new(window.clone()), }; + browser.browser.setup_logging(); + register_glutin_resize_handler(&window, &mut browser); browser.browser.handle_events(vec![WindowEvent::InitializeCompositing]); |