twisted.loggerView Source (View In Hierarchy)
File-like object that turns
write() calls into logging
Note that because event formats are
bytes received via
write() are converted to
unicode, which is the opposite of what
|Method||closed||Read-only property. Is the file closed?|
|Method||encoding||Read-only property. File encoding.|
|Method||mode||Read-only property. File mode.|
|Method||newlines||Read-only property. Types of newlines encountered.|
|Method||name||The name of this file; a repr-style string giving information about its namespace.|
|Method||close||Close this file so it can no longer be written to.|
|Method||flush||No-op; this file does not buffer.|
|Method||fileno||Returns an invalid file descriptor, since this is not backed by an FD.|
|Method||write||Log the given message.|
|Method||writelines||Log each of the given lines as a separate message.|
|Method||_unsupported||Template for unsupported operations.|
Read-only property. Is the file closed?
|Returns||true if closed, otherwise false. (type: |
Read-only property. File encoding.
|Returns||an encoding. (type: |
The name of this file; a repr-style string giving information about its namespace.
|Returns||A file name. (type: |
Close this file so it can no longer be written to.
No-op; this file does not buffer.
Returns an invalid file descriptor, since this is not backed by an FD.