MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / log_event

Method log_event

pydevd_attach_to_process/winappdbg/textio.py:1815–1826  ·  view source on GitHub ↗

Log lines of text associated with a debug event. @type event: L{Event} @param event: Event object. @type text: str @param text: (Optional) Text to log. If no text is provided the default is to show a description of the event itself.

(self, event, text=None)

Source from the content-addressed store, hash-verified

1813 self.__do_log(DebugLog.log_text(text))
1814
1815 def log_event(self, event, text=None):
1816 """
1817 Log lines of text associated with a debug event.
1818
1819 @type event: L{Event}
1820 @param event: Event object.
1821
1822 @type text: str
1823 @param text: (Optional) Text to log. If no text is provided the default
1824 is to show a description of the event itself.
1825 """
1826 self.__do_log(DebugLog.log_event(event, text))
1827
1828 def log_exc(self):
1829 """

Callers

nothing calls this directly

Calls 1

__do_logMethod · 0.95

Tested by

no test coverage detected