Ability to add source file name and line number for log, only for error! and trace! macros

Hi all,

I'm musing the log crate macros like error! and trace! with the simplelog crate.
How to add source file name and line number, only in case of error or trace ?

Thanks a lot for your help.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.