Home
last modified time | relevance | path

Searched refs:stack_info (Results 1 – 5 of 5) sorted by relevance

/third_party/python/Lib/logging/
D__init__.py324 self.stack_info = sinfo
652 def formatStack(self, stack_info): argument
663 return stack_info
691 if record.stack_info:
694 s = s + self.formatStack(record.stack_info)
1549 def findCaller(self, stack_info=False, stacklevel=1): argument
1573 if stack_info:
1600 def _log(self, level, msg, args, exc_info=None, extra=None, stack_info=False, argument
1612 fn, lno, func, sinfo = self.findCaller(stack_info, stacklevel)
1905 def _log(self, level, msg, args, exc_info=None, extra=None, stack_info=False): argument
[all …]
/third_party/python/Doc/library/
Dlogging.rst174 *exc_info*, *stack_info*, *stacklevel* and *extra*.
181 The second optional keyword argument is *stack_info*, which defaults to
190 You can specify *stack_info* independently of *exc_info*, e.g. to just show
246 The *stack_info* parameter was added.
324 .. method:: Logger.findCaller(stack_info=False, stacklevel=1)
328 information is returned as ``None`` unless *stack_info* is ``True``.
637 .. method:: formatStack(stack_info)
861 | stack_info | You shouldn't need to | Stack frame information (where available) |
986 The second optional keyword argument is *stack_info*, which defaults to
995 You can specify *stack_info* independently of *exc_info*, e.g. to just show
[all …]
/third_party/python/Lib/test/
Dtest_logging.py4056 logging.exception('failed', stack_info=True)
4064 self.assertTrue(r.stack_info.startswith('Stack (most recent '
4066 self.assertTrue(r.stack_info.endswith('logging.exception(\'failed\', '
4979 self.logger.findCaller(stack_info=True)
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h17032 struct stack_info { struct
17201 struct stack_info stack_info; member
/third_party/python/Misc/
DHISTORY11556 - Issue #1553375: logging: Added stack_info kwarg to display stack information.