RLRP routing  v.0.1.0
routing_logging.LoggingHandler Class Reference

A thread class which performs all writing operations to the given logging instance. More...

Inheritance diagram for routing_logging.LoggingHandler:
Inheritance graph
Collaboration diagram for routing_logging.LoggingHandler:
Collaboration graph

Public Member Functions

def __init__ (self)
 Constructor. More...
 
def run (self)
 Main thread routine. More...
 
def quit (self)
 Stop and quit the thread operation. More...
 

Public Attributes

 running
 Thread running state bool() flag. More...
 
 root_logger
 Create a logger instance from the default Python logging module. More...
 

Detailed Description

A thread class which performs all writing operations to the given logging instance.

Constructor & Destructor Documentation

def routing_logging.LoggingHandler.__init__ (   self)

Constructor.

Parameters
selfThe object pointer.
Returns
None

Member Function Documentation

def routing_logging.LoggingHandler.quit (   self)

Stop and quit the thread operation.

Parameters
selfThe object pointer.
Returns
None
def routing_logging.LoggingHandler.run (   self)

Main thread routine.

Get the log message and its arguments from the queue, write them to the log instance.

Parameters
selfThe object pointer.
Returns
None

Member Data Documentation

routing_logging.LoggingHandler.root_logger

Create a logger instance from the default Python logging module.

routing_logging.LoggingHandler.running

Thread running state bool() flag.


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