def log_each(logger: Logger): logger.log_error('error msg') logger.log_warn('warn msg') logger.log_info('info blue msg') logger.log_success('success msg') logger.log_debug('debug msg') logger.log_trace('trace msg')
def print_status(self): """ Prints the status out in a logger :return: """ status_printer = Logger() status_printer.log_success(self.get_status(), "JOB STATUS")