mirror of https://github.com/astral-sh/ruff
Hide globset logging even with --verbose
This commit is contained in:
parent
56f935640a
commit
c26b58ba28
|
|
@ -44,7 +44,6 @@ cfg_if! {
|
|||
if #[cfg(not(target_family = "wasm"))] {
|
||||
pub mod packaging;
|
||||
|
||||
|
||||
mod lib_native;
|
||||
pub use lib_native::check;
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -83,6 +83,7 @@ pub fn set_up_logging(level: &LogLevel) -> Result<()> {
|
|||
));
|
||||
})
|
||||
.level(level.level_filter())
|
||||
.level_for("globset", log::LevelFilter::Warn)
|
||||
.chain(std::io::stderr())
|
||||
.apply()?;
|
||||
Ok(())
|
||||
|
|
|
|||
Loading…
Reference in New Issue