mirror of
https://github.com/fluencelabs/marine.git
synced 2024-12-12 14:55:32 +00:00
Fix log filtering: set log::Record::target in log_utf8_string (#38)
This commit is contained in:
parent
eb5dfafa5e
commit
42375f3334
@ -44,6 +44,7 @@ pub(super) fn log_utf8_string(
|
|||||||
.args(format_args!("{}", msg))
|
.args(format_args!("{}", msg))
|
||||||
.level(level)
|
.level(level)
|
||||||
.module_path(module.into())
|
.module_path(module.into())
|
||||||
|
.target(module)
|
||||||
.build(),
|
.build(),
|
||||||
),
|
),
|
||||||
None => log::warn!("logger: incorrect UTF8 string's been supplied to logger"),
|
None => log::warn!("logger: incorrect UTF8 string's been supplied to logger"),
|
||||||
|
Loading…
Reference in New Issue
Block a user