def METHOD_NAME(level, reason):
    getattr(LOGGER, level)(
        'Ignored `%s:%s` at %d:%d, %s.',
        declaration.name, serialize(declaration.value),
        declaration.source_line, declaration.source_column, reason)