PyDocs

Nav

Generic Operating System Services

SysLogHandler.createSocket

logging.handlers

method of SysLogHandler · Added in 3.11 (source)
  • SysLogHandler.createSocket()
Try to create a socket and, if it's not a datagram socket, connect it
to the other end. This method is called during handler initialization,
but it's not regarded as an error if the other end isn't listening yet
--- the method will be called again when emitting an event,
if there is no socket at that point.
0 Examples
No examples for logging.handlers/SysLogHandler.createSocket.
See Also
No see-alsos for logging.handlers/SysLogHandler.createSocket
0 Notes
No notes for SysLogHandler.createSocket