Add `stacklevel` parameter to logger handle
When user perfoms logging in his helper function, he might want to log file name and line number from caller of the helper function instead of location of a line where this log is registered. It can be achieved by increasing the stack level.
Loading
Please sign in to comment