'Logs the length and contents of the ``list`` using given ``level``.
Valid levels are TRACE, DEBUG, INFO (default), and WARN.
If you only want to the length, use keyword `Get Length` from
the BuiltIn library.'

def log_list(self, list_, level='INFO'):

    logger.write('\n'.join(self._log_list(list_)), level)
