def METHOD_NAME(self, name, args, lib):
    type = lib.__class__.__name__.replace('Library', '').lower()[1:]
    listener = ', with listener' if lib.has_listener else ''
    LOGGER.info(f"Imported library '{name}' with arguments {seq2str2(args)} "
                f"(version {lib.version or '<unknown>'}, {type} type, "
                f"{lib.scope} scope, {len(lib)} keywords{listener}).")
    if not lib:
        LOGGER.warn(f"Imported library '{name}' contains no keywords.")