fix tests

Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
This commit is contained in:
Yoshua Wuyts 2019-09-01 18:49:40 +02:00
parent 17063f07d6
commit 20627cbc03
No known key found for this signature in database
GPG Key ID: 24EA8164F96777ED

View File

@ -48,7 +48,7 @@ macro_rules! log {
macro_rules! log_impl {
// End of macro input
(target: $target:expr, $lvl:expr, ($($arg:expr),*)) => {
let lvl = log::Level::Info;
let lvl = $lvl;
if lvl <= $crate::STATIC_MAX_LEVEL && lvl <= $crate::max_level() {
$crate::__private_api_log(
__log_format_args!($($arg),*),