mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Use the correct log crate and setup env_logger in main.
This commit is contained in:
parent
78665336e6
commit
00e8e5f77d
35 changed files with 95 additions and 16 deletions
|
@ -68,6 +68,7 @@ git = "https://github.com/servo/rust-png"
|
|||
git = "https://github.com/tomaka/clock_ticks"
|
||||
|
||||
[dependencies]
|
||||
log = "*"
|
||||
encoding = "0.2"
|
||||
url = "0.2.35"
|
||||
bitflags = "*"
|
||||
|
|
|
@ -889,7 +889,7 @@ impl LayoutTask {
|
|||
};
|
||||
|
||||
debug!("layout: received layout request for: {}", self.url.serialize());
|
||||
if log_enabled!(log::DEBUG) {
|
||||
if log_enabled!(log::LogLevel::Debug) {
|
||||
node.dump();
|
||||
}
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#![feature(core)]
|
||||
#![feature(filling_drop)]
|
||||
#![feature(plugin)]
|
||||
#![feature(rustc_private)]
|
||||
#![feature(std_misc)]
|
||||
#![feature(str_char)]
|
||||
#![feature(thread_local)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue