logging_stream_redirection

Module: tools.logging_stream_redirection

This module contains a class to redirect the logging output from one logger to another one.

It has to be used with the logger class.

Author:Hendrik Woehrle (hendrik.woehrle@dfki.de)
Created:2011/12/05

Inheritance diagram for pySPACE.tools.logging_stream_redirection:

Inheritance diagram of pySPACE.tools.logging_stream_redirection

RedirectionHandler

class pySPACE.tools.logging_stream_redirection.RedirectionHandler(destination)[source]

Bases: logging.Handler

__init__(destination)[source]
emit(record)[source]