def METHOD_NAME(cls):
    """This handler can work only after Blender is fully loaded"""
    addon = bpy.context.preferences.addons.get(sverchok.__name__)
    prefs = addon.preferences
    if prefs.log_to_buffer:
        sv_logger.debug(f'Logging to Blender text editor="{prefs.log_buffer_name}"')
        handler = cls(prefs.log_buffer_name)
        handler.setFormatter(logging.Formatter(log_format, datefmt="%Y-%m-%d %H:%M:%S"))
        sv_logger.addHandler(handler)