PyDocs

Nav

Generic Operating System Services

Logger.debug

logging

method of Logger (source)
  • Logger.debug(msg, *args, **kwargs)
Log 'msg % args' with severity 'DEBUG'.

To pass exception information, use the keyword argument exc_info with
a true value, e.g.

logger.debug("Houston, we have a %s", "thorny problem", exc_info=True)
Changed in 3.2, 3.5, 3.8
  • 3.2: The stack_info parameter was added.
  • 3.5: The exc_info parameter can now accept exception instances.
  • 3.8: The stacklevel parameter was added.
0 Examples
No examples for logging/Logger.debug.
See Also
No see-alsos for logging/Logger.debug
0 Notes
No notes for Logger.debug