(self, record: logbook.LogRecord)
emit is not thread-safe with set_path, but it is thread-safe with
        itself
emit is not thread-safe with set_path, but it is thread-safe with
        itself
emit is not thread - safe with set_path but it is thread - safe with itself
def emit(self, record: logbook.LogRecord):
        """emit is not thread-safe with set_path, but it is thread-safe with
        itself
        """
        if self.disabled:
            return
        elif self.initialized:
            super().emit(record)
        else:
            assert self._msg_buffer is not None, \
                '_msg_buffer should never be None if _log_path is set'
            self._msg_buffer.append(record)
            assert len(self._msg_buffer) < self._bufmax, \
                'too many messages received before initilization!'
def emit ( self , record : logbook . LogRecord ) : if self . disabled : return elif self . initialized : super ( ) . emit ( record ) else : assert self . _msg_buffer is not None , '_msg_buffer should never be None if _log_path is set' self . _msg_buffer . append ( record ) assert len ( self . _msg_buffer ) < self . _bufmax , 'too many messages received before initilization!'