edk2toollib/log/markdown_handler.py
def handle(self, record):
        """
        Conditionally emit the specified logging record.
        Emission depends on filters which may have been added to the handler.
        Wrap the actual emission of the record with acquisition/release of
        the I/O thread lock. Returns whether the filter passed the record for
        emission.
        """

        rv = self.filter(record)
        if rv and record.levelno >= self.level:
            self.acquire()
            try:
                self.emit(record)
            except Exception:  # silently fail
                pass
            finally:
                self.release()
        return rv

        Conditionally emit the specified logging record.
        Emission depends on filters which may have been added to the handler.
        Wrap the actual emission of the record with acquisition/release of
        the I/O thread lock. Returns whether the filter passed the record for
        emission.
        
Conditionally emit the specified logging record.
Emission depends on filters which may have been added to the handler.
Wrap the actual emission of the record with acquisition/release of
the I/O thread lock. Returns whether the filter passed the record for
emission.
Conditionally emit the specified logging record . Emission depends on filters which may have been added to the handler . Wrap the actual emission of the record with acquisition / release of the I / O thread lock . Returns whether the filter passed the record for emission .
def handle(self, record):
        rv = self.filter(record)
        if rv and record.levelno >= self.level:
            self.acquire()
            try:
                self.emit(record)
            except Exception:  
                pass
            finally:
                self.release()
        return rv
def handle ( self , record ) : rv = self . filter ( record ) if rv and record . levelno >= self . level : self . acquire ( ) try : self . emit ( record ) except Exception : pass finally : self . release ( ) return rv
Conditionally emit the specified logging record.
Conditionally emit the specified logging record .
"""
        Conditionally emit the specified logging record.
        Emission depends on filters which may have been added to the handler.
        Wrap the actual emission of the record with acquisition/release of
        the I/O thread lock. Returns whether the filter passed the record for
        emission.
        """ # silently fail
self
record