de_sim icon indicating copy to clipboard operation
de_sim copied to clipboard

Include location info in logging calls

Open artgoldberg opened this issue 6 years ago • 1 comments

Provide file, function & line number in logging calls. Unfortunately, logging2 doesn't support stacklevel (which logging added in 3.8), which would make this easy. Submitted issue asking for stacklevel to logging2.

When working, put {source}:{function:s}:{line:d} in logger templates in debug log config files.

Also fix in wc_sim.

artgoldberg avatar Dec 26 '19 19:12 artgoldberg

Based on response from the author of logging2, he won't be making further changes to the repo.

artgoldberg avatar Apr 09 '20 22:04 artgoldberg