def start_with_log_level(self, level: LogLevel): """Sets a custom log level and starts emerge. Args: level (LogLevel): A given log level. """ Logger.set_log_level(level) self.start()
def set_log_level(self, level: LogLevel): Logger.set_log_level(level)