logging.handlers.SocketHandler.emit()

emit()

Pickles the record’s attribute dictionary and writes it to the socket in binary format. If there is an error with the socket, silently drops the packet. If the connection was previously lost, re-establishes the connection. To unpickle the record at the receiving end into a LogRecord, use the makeLogRecord() function.

doc_python
2016-10-07 17:36:16
Comments
Leave a Comment

Please login to continue.