__new__(T,
S,
...)

copy(...)

log(self,
log_entry,
message,
*args)

Called by the .receive() method to log a _LogEntry instance to
the Python logging system. This handles the error level
mapping.

In the default implementation, the message argument
receives a complete log line, and there are no further
args. To change the message format, it is best to
override the .receive() method instead of this one.

receive(self,
log_entry)

Receive a _LogEntry instance from the logging system. Calls
the .log() method with appropriate parameters: