Fix log indentation.

Regression introduced in 885cdfd6 resulted in items in logs messages not
being properly indented.
This commit is contained in:
Sergio Benitez 2022-09-24 08:01:34 -07:00
parent 6c3d35e7e5
commit 1ed7a6e77e
1 changed files with 2 additions and 2 deletions

View File

@ -21,11 +21,11 @@ macro_rules! define_log_macro {
); );
($name:ident ($indented:ident): $kind:ident, $target:expr, $d:tt) => ( ($name:ident ($indented:ident): $kind:ident, $target:expr, $d:tt) => (
define_log_macro!($name: $kind, $target, $d); define_log_macro!($name: $kind, $target, $d);
define_log_macro!($indented: $kind, $target, $d); define_log_macro!($indented: $kind, concat!($target, "::_"), $d);
); );
($kind:ident, $indented:ident) => ( ($kind:ident, $indented:ident) => (
define_log_macro!($kind: $kind, module_path!(), $); define_log_macro!($kind: $kind, module_path!(), $);
define_log_macro!($indented: $kind, "_", $); define_log_macro!($indented: $kind, concat!(module_path!(), "::_"), $);
pub use $indented; pub use $indented;
); );