Closed pmeenan closed 1 year ago
stacklevel was introduced in Python 3.8
This falls back to not using it on earlier versions but also puts the logging into it's own try/catch block in case an invalid param is passed in so it doesn't introduce an exception that wasn't there without logging.
stacklevel was introduced in Python 3.8
This falls back to not using it on earlier versions but also puts the logging into it's own try/catch block in case an invalid param is passed in so it doesn't introduce an exception that wasn't there without logging.