class documentation
class _LogOwner: (source)
Known subclasses: twisted.internet.abstract.FileDescriptor
, twisted.internet.iocpreactor.abstract.FileHandle
, twisted.internet.iocpreactor.tcp.Port
Implements interfaces: twisted.internet.interfaces.ILoggingContext
Mixin to help implement interfaces.ILoggingContext
for transports which have a protocol, the log prefix of which should also appear in the transport's log prefix.
Method | log |
Override this method to insert custom logging behavior. Its return value will be inserted in front of every line. It may be called more times than the number of output lines. |
Method | _get |
Determine the log prefix to use for messages related to applicationObject, which may or may not be an interfaces.ILoggingContext provider. |
overridden in
twisted.internet.iocpreactor.tcp.Connection
, twisted.internet.iocpreactor.tcp.Port
, twisted.internet.iocpreactor.udp.Port
, twisted.internet.tcp.Connection
, twisted.internet.tcp.Port
, twisted.internet.udp.Port
, twisted.pair.tuntap.TuntapPort
Override this method to insert custom logging behavior. Its return value will be inserted in front of every line. It may be called more times than the number of output lines.
overridden in
twisted.internet.ssl.Port
Determine the log prefix to use for messages related to applicationObject, which may or may not be an interfaces.ILoggingContext
provider.
Returns | |
str | A str giving the log prefix to use. |