(msg)
log an info message
log an info message
log an info message
def log_info(msg):
    """log an info message"""
    print colored('INFO', 'blue'), msg
    if ukconfig.LOG_DIR:
        with open(os.path.join(ukconfig.LOG_DIR, 'info.txt'), 'a') as f:
            f.write(msg)
            f.write('\n')
def log_info ( msg ) : print colored ( 'INFO' , 'blue' ) , msg if ukconfig . LOG_DIR : with open ( os . path . join ( ukconfig . LOG_DIR , 'info.txt' ) , 'a' ) as f : f . write ( msg ) f . write ( '\n' )