Skip to content

Expose the `stacklevel` parameter of tt.logger

Mateusz Żebrak requested to merge mzebrak/add-logger-stacklevel-parameter into master

There are situations when user wants to change the stack level of a logger. For example - when logging inside a module like he might want to include the filename of the actual test in the (%(filename)s:%(lineno)s) part of the log message instead of local_tools being printed.

Edited by Mateusz Żebrak

Merge request reports