Commit 1199f7d
committed
Set log target to module path
The `log!()` macro defaults to using the module path as the log target when no target is specified.
Explicitly setting the log target to the module path enables better integration with other logging crates,
such as `env_logger`, allowing them to filter logs by target (e.g., via `env_logger::Builder::parse_filters()`).1 parent 01c396a commit 1199f7d
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| 156 | + | |
156 | 157 | | |
157 | 158 | | |
158 | 159 | | |
| |||
161 | 162 | | |
162 | 163 | | |
163 | 164 | | |
| 165 | + | |
164 | 166 | | |
165 | 167 | | |
166 | 168 | | |
| |||
0 commit comments