Create a FileLogObserver that emits text to a specified (writable) file-like object.

ParametersoutFileA file-like object. Ideally one should be passed which accepts unicode data. Otherwise, UTF-8 bytes will be used. (type: io.IOBase)
timeFormatThe format to use when adding timestamp prefixes to logged events. If None, or for events with no "log_timestamp" key, the default timestamp prefix of u"-" is used. (type: unicode or None)
ReturnsA file log observer. (type: FileLogObserver)
Function formatEvent Undocumented
def formatEvent(event): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2020-03-20 23:54:06.