'Receive a twisted log entry, format it and bridge it to python.
By default the logging level used is info; log.err produces error
level, and you can customize the level by using the C{logLevel} key::
>>> log.msg(\'debugging\', logLevel=logging.DEBUG)'

def emit(self, eventDict):

    if ('log_format' in eventDict):
        _publishNew(self._newObserver, eventDict, textFromEventDict)
