Package winappdbg :: Module textio :: Class DebugLog
[hide private]
[frames] | no frames]

Class DebugLog

source code


Static functions for debug logging.

Instance Methods [hide private]

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]
str
log_event(cls, event, text=None)
Log lines of text associated with a debug event.
source code
Static Methods [hide private]
str
log_text(text)
Log lines of text, inserting a timestamp.
source code
a new object with type S, a subtype of T
__new__(cls, *argv, **argd)
Don't try to instance this class, just use the static methods. (Inherited from winappdbg.util.StaticClass)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

log_text(text)
Static Method

source code 

Log lines of text, inserting a timestamp.

Parameters:
  • text (str) - Text to log.
Returns: str
Log line.

log_event(cls, event, text=None)
Class Method

source code 

Log lines of text associated with a debug event.

Parameters:
  • event (Event) - Event object.
  • text (str) - (Optional) Text to log. If no text is provided the default is to show a description of the event itself.
Returns: str
Log line.