Exemplo n.º 1
0
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()
Exemplo n.º 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()
Exemplo n.º 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()