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

@ -207,7 +207,7 @@ impl ParseErrorReporter for RustLogReporter {
url: &UrlExtraData,
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, location.column, error)
}
}