This is my first pull request ever, so I hope I'm doing it right :)
This PR adds a new option for both the file and terminal logger configs, "source_location", which can either be none or module_and_line, being module_and_line by default to maintain backwards compatibility.
The intent is to add the possibility to remove source location logging, which I personally prefer to be off in production.
Along the way I've added comments to example config files and removed some doctest warnings.
This is my first pull request ever, so I hope I'm doing it right :)
This PR adds a new option for both the file and terminal logger configs, "source_location", which can either be
none
ormodule_and_line
, beingmodule_and_line
by default to maintain backwards compatibility.The intent is to add the possibility to remove source location logging, which I personally prefer to be off in production.
Along the way I've added comments to example config files and removed some doctest warnings.