Part of twisted.python View Source
| Class | ILogContext | Actually, this interface is just a synoym for the dictionary interface, |
| Function | callWithContext | Undocumented |
| Function | callWithLogger | Utility method which wraps a function in a try:/except:, logs a failure if |
| Function | showwarning | Undocumented |
| Function | startKeepingErrors | DEPRECATED in Twisted 2.5. |
| Function | flushErrors | DEPRECATED in Twisted 2.5. See
TestCase.flushLoggedErrors.
|
| Function | _flushErrors | PRIVATE. DEPRECATED. DON'T USE. |
| Function | ignoreErrors | DEPRECATED |
| Function | _ignore | PRIVATE. DEPRECATED. DON'T USE. |
| Function | clearIgnores | DEPRECATED |
| Function | _clearIgnores | PRIVATE. DEPRECATED. DON'T USE. |
| Function | err | Write a failure to the log. |
| Class | Logger | This represents a class which may 'own' a log. Used by subclassing. |
| Class | LogPublisher | Class for singleton log message publishing. |
| Class | FileLogObserver | Log observer that writes to a file-like object. |
| Class | StdioOnnaStick | Class that pretends to be stout/err. |
| Function | startLogging | Initialize logging to a specified file. |
| Function | startLoggingWithObserver | Initialize logging to a specified observer. If setStdout is true |
| Class | NullFile | Undocumented |
| Function | discardLogs | Throw away all logs. |
| Class | DefaultObserver | Default observer. |
DEPRECATED in Twisted 2.5.
Support function for testing frameworks.
Start keeping errors in a buffer which can be retrieved (and emptied) with flushErrors.DEPRECATED in Twisted 2.5. See
TestCase.flushLoggedErrors.
Support function for testing frameworks.
Return a list of errors that occurred since the last call to flushErrors(). (This will return None unless startKeepingErrors has been called.)