Example #1
0
def stream_sequence_logs(stream, debug_level=logging.INFO):
    """
    Add the custom stream handler to the execution logger
    """
    handler = logging.StreamHandler(stream)
    handler.setFormatter(SequenceLoggingFormatter())
    handler.setLevel(debug_level)
    LOGGER.addHandler(handler)
Example #2
0
def stream_sequence_logs(stream, debug_level=logging.INFO):
    """
    Add the custom stream handler to the execution logger
    """
    handler = logging.StreamHandler(stream)
    handler.setFormatter(SequenceLoggingFormatter())
    handler.setLevel(debug_level)
    LOGGER.addHandler(handler)
Example #3
0
def add_log_handler(handler):
    """
    Add a log handler to the execution logger
    """
    LOGGER.addHandler(handler)
Example #4
0
def add_log_handler(handler):
    """
    Add a log handler to the execution logger
    """
    LOGGER.addHandler(handler)