(msg)
Prints the given message and, if debugging is on,
       logs it.
Prints the given message and, if debugging is on,
       logs it.
Prints the given message and if debugging is on logs it .
def Error(msg):
    """Prints the given message and, if debugging is on,
       logs it.
    """
    print color.B_RED + '[-] %s' % (msg) + color.END
    if config.get('debug'):
        debug(msg)
def Error ( msg ) : print color . B_RED + '[-] %s' % ( msg ) + color . END if config . get ( 'debug' ) : debug ( msg )