def addHandler(handler):
 handler.setFormatter(formatter)
 logger.addHandler(handler)

def addHandler ( handler ) : handler . setFormatter ( formatter ) logger . addHandler ( handler )
add a handler to the default logger .