3 ms·
While I realize we don't always have a logger wired up, it's also easy to implement this in standard logging. %(filename_lineno)s will give you the filename an
by jlmorton 6y ago
While I realize we don't always have a logger wired up, it's also easy to implement this in standard logging.
%(filename_lineno)s will give you the filename and line.
- kortex 6y agoLoguru is a great package for "I just want a nicely formatted logger out of the box"