(name, level=logging.INFO, log_format=DETAILED_FORMAT)
Add a CLog logging handler for the stream 'name'.

    :param name: the name of the log
    :type name: string
    :param level: the logging level of the handler
    :type level: int
Add a CLog logging handler for the stream 'name'.
Add a CLog logging handler for the stream name .
def add_clog_handler(name, level=logging.INFO, log_format=DETAILED_FORMAT):
    """Add a CLog logging handler for the stream 'name'.

    :param name: the name of the log
    :type name: string
    :param level: the logging level of the handler
    :type level: int
    """
    clog_handler = clog.handlers.CLogHandler(name)
    clog_handler.setLevel(level)
    formatter = logging.Formatter(log_format)
    clog_handler.setFormatter(formatter)
    logging.root.addHandler(clog_handler)
def add_clog_handler ( name , level = logging . INFO , log_format = DETAILED_FORMAT ) : clog_handler = clog . handlers . CLogHandler ( name ) clog_handler . setLevel ( level ) formatter = logging . Formatter ( log_format ) clog_handler . setFormatter ( formatter ) logging . root . addHandler ( clog_handler )