Go to the latest version of this document.

# ``twisted`.`python`.`log`.`Logger``

class documentation

`class Logger: (source)`

Known subclasses: `twisted.conch.ssh.channel.SSHChannel`, `twisted.internet._signals._FDWaker`, `twisted.internet._signals._SocketWaker`

View In Hierarchy

This represents a class which may 'own' a log. Used by subclassing.

Method | `logPrefix` | 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.

def logPrefix(self): (source)
overridden in `twisted.conch.ssh.channel.SSHChannel`

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.