Bump env_logger to 0.5 and log to 0.4 in every servo crate

This commit is contained in:
Bastien Orivel 2018-03-28 19:50:58 +02:00
parent 84513d43ba
commit 0918ac8cc7
34 changed files with 153 additions and 110 deletions

View file

@ -19,7 +19,7 @@ gfx_traits = {path = "../gfx_traits"}
html5ever = "0.22"
ipc-channel = "0.10"
libc = "0.2"
log = "0.3.5"
log = "0.4"
time = "0.1.17"
malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = { path = "../malloc_size_of_derive" }

View file

@ -26,7 +26,7 @@ impl ParseErrorReporter for CSSErrorReporter {
url: &ServoUrl,
location: SourceLocation,
error: ContextualParseError) {
if log_enabled!(log::LogLevel::Info) {
if log_enabled!(log::Level::Info) {
info!("Url:\t{}\n{}:{} {}",
url.as_str(),
location.line,