u.t.U.emit(self, eventDict) : method documentation

Part of udplog.twisted.UDPLogObserver View Source

Log an event.

This converts eventDict so that it can be serialized to JSON and sent over UDP to the logging server.

The key 'time' that is automatically provided by Twisted is renamed to 'timestamp' that is used in UDP log.

When Twisted logs an error, the associated Failure is in the eventDict with key 'failure'. For warnings, 'warning' holds the warning class and its arguments, and 'filename', 'lineno' the location where the warning was reported from. See twisted.python.log.textFromEventDict for how 'format' is used to render failures and warnings.

See twisted.python.log.ILogObserver.

API Documentation for udplog, generated by pydoctor at 2014-02-17 15:26:29.