Skip to content

Commit

Permalink
fix for Python 3.8 BC breaking logging API change
Browse files Browse the repository at this point in the history
  • Loading branch information
inoryy authored Dec 11, 2019
1 parent 62b0407 commit 0daab40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion absl/logging/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ class ABSLLogger(logging.getLoggerClass()):
"""
_frames_to_skip = set()

def findCaller(self, stack_info=False):
def findCaller(self, stack_info=False, stacklevel=1):
"""Finds the frame of the calling method on the stack.
This method skips any frames registered with the
Expand Down

0 comments on commit 0daab40

Please sign in to comment.