class documentation
class FileLogObserver: (source)
Log observer that writes to a file-like object.
Method | __call__ |
Write event to file. |
Method | __init__ |
No summary |
Instance Variable | format |
Undocumented |
Instance Variable | _encoding |
Undocumented |
Instance Variable | _out |
Undocumented |
Parameters | |
outIO[ | A file-like object. Ideally one should be passed which accepts text data. Otherwise, UTF-8 bytes will be used. |
formatCallable[ | A callable that formats an event. |