def METHOD_NAME(self, asyncLogEvent):
    """Write event handler."""
    try:
        event = asyncLogEvent.LogEvent
        level = self.convert_level(event.Level)
        if mlogger.is_enabled_for(level):
            print(self.Layout.Render(event))    #pylint: disable=E1101
    except Exception as e:
        print(e)