Struct style::error_reporting::RustLogReporter
[−]
[src]
pub struct RustLogReporter;
An error reporter that uses the log crate
at info level.
This logging is silent by default, and can be enabled with a RUST_LOG=style=info
environment variable.
(See env_logger.)
Trait Implementations
impl ParseErrorReporter for RustLogReporter[src]
fn report_error(
&self,
url: &UrlExtraData,
location: SourceLocation,
error: ContextualParseError
)[src]
&self,
url: &UrlExtraData,
location: SourceLocation,
error: ContextualParseError
)
Called when the style engine detects an error. Read more