示例#1
0
文件: ux.py 项目: pombredanne/hendrix
def noiseControl(options):
    # terminal noise/info logic
    # allows the specification of the log file location
    if not options["loud"]:
        log_path = options["log"]
        globalLogPublisher.addObserver(hendrixObserver(log_path))
    return None
示例#2
0
def noiseControl(options):
    # terminal noise/info logic
    # allows the specification of the log file location
    if not options['loud']:
        log_path = options['log']
        globalLogPublisher.addObserver(hendrixObserver(log_path))
    return None