mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Bump env_logger to 0.5 and log to 0.4 in every servo crate
This commit is contained in:
parent
84513d43ba
commit
0918ac8cc7
34 changed files with 153 additions and 110 deletions
|
@ -42,7 +42,7 @@ html5ever = {version = "0.22", optional = true}
|
|||
itertools = "0.7.6"
|
||||
itoa = "0.3"
|
||||
lazy_static = "1"
|
||||
log = "0.3"
|
||||
log = "0.4"
|
||||
malloc_size_of = { path = "../malloc_size_of" }
|
||||
malloc_size_of_derive = { path = "../malloc_size_of_derive" }
|
||||
matches = "0.1"
|
||||
|
@ -77,7 +77,7 @@ kernel32-sys = "0.2"
|
|||
|
||||
[build-dependencies]
|
||||
lazy_static = "1"
|
||||
log = "0.3"
|
||||
log = "0.4"
|
||||
bindgen = { version = "0.33.2", optional = true, default-features = false }
|
||||
regex = {version = "0.2", optional = true}
|
||||
walkdir = "1.0"
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ use applicable_declarations::ApplicableDeclarationList;
|
|||
use context::{CascadeInputs, ElementCascadeInputs, StyleContext};
|
||||
use data::{ElementStyles, EagerPseudoStyles};
|
||||
use dom::TElement;
|
||||
use log::LogLevel::Trace;
|
||||
use log::Level::Trace;
|
||||
use matching::MatchMethods;
|
||||
use properties::{AnimationRules, ComputedValues};
|
||||
use properties::longhands::display::computed_value::T as Display;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue