def METHOD_NAME(process):
    """Show the log report for one or multiple processes."""
    from aiida.orm import Log
    def get_dict(log):
        """Returns the dict representation of log object"""
        return {
            'time': log.time,
            'loggername': log.loggername,
            'levelname': log.levelname,
            'dbnode_id': log.dbnode_id,
            'message': log.message,
        }
    report = {}
    report['logs'] = [get_dict(log) for log in Log.collection.get_logs_for(process)]
    return report