Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use trace!() in tokenizer, to reduce log spam #466

Merged
merged 1 commit into from Feb 16, 2022

Commits on Feb 16, 2022

  1. use trace!() in tokenizer to reduce log spam

    html5ever doesn't currently use trace!() anywhere. This patch
    downgrades a few of the noisiest debug!() calls to use trace!()
    instead.
    
    This seems like a more reasonable log level for a tokenizer.
    
    This makes configuring env_logger to debug other code easier
    (RUST_LOG=debug rather than RUST_LOG=html5ever=info,debug), and
    makes working with minimal wasm log frameworks like console_log
    nicer (the console_log crate doesn't have a way to set different
    levels for different log prefixes).
    alsuren committed Feb 16, 2022
    Copy the full SHA
    3cf2fb1 View commit details
    Browse the repository at this point in the history