<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_stream_handler(logger, stream):
 """Add a brace-handler stream-handler using `stream` to `logger`."""

    handler = logging.StreamHandler(stream=stream)
    # Using Brace Formatter (see
    # https://docs.python.org/3.5/howto/logging-cookbook.html#use-of-alternative-formatting-styles)
    formatter = logging.Formatter(
        '{asctime} {name:24s} {levelname:8s} {message}', style='{')
    handler.setFormatter(formatter)
    logger.addHandler(handler)