Exemple #1
0
def setup_console(options):
    if options.color != 'auto':
        console.enable_color(options.color == 'yes')
    console.set_verbosity(options.verbosity)
Exemple #2
0
def setup_log(build_dir, options):
    log_file = os.path.join(build_dir, 'blade.log')
    console.set_log_file(log_file)
    console.set_verbosity(options.verbosity)
def setup_console(options):
    if options.color != 'auto':
        console.enable_color(options.color == 'yes')
    console.set_verbosity(options.verbosity)