(self, record)
Emit a record.

        If the stream was not opened because 'delay' was specified in the
        constructor, open it before calling the superclass's emit.
Emit a record.
Emit a record .
def emit(self, record):
        """
        Emit a record.

        If the stream was not opened because 'delay' was specified in the
        constructor, open it before calling the superclass's emit.
        """
        if self.stream is None:
            self.stream = self._open()
        StreamHandler.emit(self, record)
def emit ( self , record ) : if self . stream is None : self . stream = self . _open ( ) StreamHandler . emit ( self , record )