NonPickledSocketHandler.emit

NonPickledSocketHandler.emit(record: logging.LogRecord)[source]

Encodes a record and writes it to the socket. If there is an error with the socket, silently drops the packet. If there was a problem with the socket, re-establishes the socket.

Parameters

record (LogRecord) – The record to be emitted.