Part of coherence.extern.log.log View Source View In Hierarchy
Known subclasses: coherence.extern.log.log.TwistedLogObserver, coherence.extern.log.test_log.LogFunctionTester, coherence.extern.log.test_log.LogTester, coherence.log.Loggable
| Class Variables | logCategory | Implementors can provide a category to log their messages under. |
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 650 | Method | error | Log an error. By default this will also raise an exception. |
| 657 | Method | warning | Log a warning. Used for non-fatal problems. |
| 664 | Method | info | Log an informational message. Used for normal operation. |
| 671 | Method | debug | Log a debug message. Used for debugging. |
| 678 | Method | log | Log a log message. Used for debugging recurring events. |
| 685 | Method | doLog | Log a message at the given level, with the possibility of going |
| 709 | Method | warningFailure | Log a warning about a Twisted Failure. Useful as an errback handler: |
| 726 | Method | logFunction | Overridable log function. Default just returns passed message. |
| 730 | Method | logObjectName | Overridable object name function. |
| Parameters | level | log level (type: int ) |
| where | how many frames to go back from the last log frame; or a function (to log for a future call) (type: int (negative), or function ) | |
| kwargs | a dict of pre-calculated values from a previous doLog call | |
| Returns | a dict of calculated variables, to be reused in a call to doLog that should show the same location (type: dict ) | |
| Parameters | swallow | whether to swallow the failure or not (type: bool ) |