Closed gavrilikhin-d closed 6 months ago
We don't provide something exactly like group
and groupEnd
. However we have some tools you can use to group logs. You can set the target
to any string to correlate messages, in additional you have the (Rust source code) module
name. You can opt in to the currently unstable (https://github.com/rust-lang/log/issues/436) key-values, which allows you to add key-value pair, with which you can add your own group info.
Is it possible to group logs like in js (
console.group()
,console.groupEnd()
)?It's useful to visually create hierarchies of logs, e.g: