diff --git a/logging_exceptions.py b/logging_exceptions.py index 690ffb3..715c8d8 100644 --- a/logging_exceptions.py +++ b/logging_exceptions.py @@ -63,7 +63,7 @@ def __init__(self, name, level=logging.NOTSET): super(ExlogLogger, self).__init__(name, level) self.ignored_functions = [] - def findCaller(self, stack_info=False): + def findCaller(self, stack_info=False, stacklevel=1): """ Modified copy of the original logging.Logger.findCaller function.