def init_with_logging(log_level, log_file=None):
    logging_setup = as_json(ykman.logging_setup.setup)
    try:
        logging_setup(log_level.upper(), log_file)
    except Exception as e:
        return json.dumps(unknown_failure(e))

    init()
Exemple #2
0
def init_with_logging(log_level, log_file=None):
    logging_setup = as_json(ykman.logging_setup.setup)
    logging_setup(log_level, log_file)

    init()
Exemple #3
0
def init_with_logging(log_level, log_file=None):
    logging_setup = as_json(ykman.logging_setup.setup)
    logging_setup(log_level, log_file)

    init()