Fun with PWM  0.32
TkConsole.Logger Class Reference

Custom stdout handler. More...

Inheritance diagram for TkConsole.Logger:

Public Member Functions

def __init__ (self, old_stdout, old_stderr, useold)
 
def write (self, value)
 

Public Attributes

 output
 
 useold
 
 old_stdout
 
 old_stderr
 

Detailed Description

Custom stdout handler.

Constructor & Destructor Documentation

§ __init__()

def TkConsole.Logger.__init__ (   self,
  old_stdout,
  old_stderr,
  useold 
)
Initializes the Logger object
Extends StringIO in order to capture stdout and stderr

@param old_stdout
@param old_stderr
@param useold

Member Function Documentation

§ write()

def TkConsole.Logger.write (   self,
  value 
)
capture and reverse console output

The documentation for this class was generated from the following file: