configure logging system to display path of file
The simplelog system allowed to display the path of the file who called the macro, allowing to click on it in the editor to reach this point easily:
2019-10-23 14:07:16+00:00 [DEBUG] durs_ws2p_protocol::controller::on_open: [lib/modules/ws2p/ws2p-protocol/src/controller/on_open.rs:34] open websocket from 127.0.0.1:54028
After the migration to fern, it is not the case anymore:
[2019-10-23][16:16:29][durs_ws2p_protocol::controller::on_open][DEBUG] open websocket from 127.0.0.1:54176
This is especially useful for DEBUG logs.
Edited by Hugo Trentesaux