def start_logging():
    """Set the logging system to log to the (real) `stdout`.  Suitable for
    logging to the console when using a Jupyter notebook, for example.
    """
    import logging, sys
    logger = logging.getLogger('tilemapbase')
    logger.setLevel(logging.DEBUG)
    ch = logging.StreamHandler(sys.__stdout__)
    fmt = logging.Formatter('{asctime} {levelname} {name} - {message}',
        style='{')
    ch.setFormatter(fmt)
    logger.addHandler(ch)
