mirror of
https://gitee.com/openharmony/third_party_rust_log
synced 2024-11-27 01:40:27 +00:00
fix tests
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
This commit is contained in:
parent
17063f07d6
commit
20627cbc03
@ -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),*),
|
||||
|
Loading…
Reference in New Issue
Block a user