Skip to content
Closed
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions neqo-common/src/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ pub fn init(level_filter: Option<log::LevelFilter>) {
// TODO: Enable `#[clippy::format_args]` once our MSRV is >= 1.84
macro_rules! qerror {
($($arg:tt)*) => ( {
#[cfg(any(test, feature = "bench"))]
::neqo_common::log::init(None);
Comment thread
larseggert marked this conversation as resolved.
::log::error!($($arg)*);
} );
Expand All @@ -61,7 +60,6 @@ macro_rules! qerror {
// TODO: Enable `#[clippy::format_args]` once our MSRV is >= 1.84
macro_rules! qwarn {
($($arg:tt)*) => ( {
#[cfg(any(test, feature = "bench"))]
::neqo_common::log::init(None);
Comment thread
larseggert marked this conversation as resolved.
::log::warn!($($arg)*);
} );
Expand All @@ -70,7 +68,6 @@ macro_rules! qwarn {
// TODO: Enable `#[clippy::format_args]` once our MSRV is >= 1.84
macro_rules! qinfo {
($($arg:tt)*) => ( {
#[cfg(any(test, feature = "bench"))]
::neqo_common::log::init(None);
Comment thread
larseggert marked this conversation as resolved.
::log::info!($($arg)*);
} );
Expand All @@ -79,7 +76,6 @@ macro_rules! qinfo {
// TODO: Enable `#[clippy::format_args]` once our MSRV is >= 1.84
macro_rules! qdebug {
($($arg:tt)*) => ( {
#[cfg(any(test, feature = "bench"))]
::neqo_common::log::init(None);
Comment thread
larseggert marked this conversation as resolved.
::log::debug!($($arg)*);
} );
Expand All @@ -88,7 +84,6 @@ macro_rules! qdebug {
// TODO: Enable `#[clippy::format_args]` once our MSRV is >= 1.84
macro_rules! qtrace {
($($arg:tt)*) => ( {
#[cfg(any(test, feature = "bench"))]
::neqo_common::log::init(None);
Comment thread
larseggert marked this conversation as resolved.
::log::trace!($($arg)*);
} );
Expand Down
Loading