Revision b4cdc8ff4bda43c826fe7911e6d8e035390b90fd authored by Marcos Cáceres on 16 April 2018, 07:19:19 UTC, committed by GitHub on 16 April 2018, 07:19:19 UTC
1 parent fa62ac0
log.py
import logging
import sys
logger = logging.getLogger("manifest")
def setup():
logger.setLevel(logging.DEBUG)
handler = logging.StreamHandler(sys.stdout)
formatter = logging.Formatter(logging.BASIC_FORMAT, None)
handler.setFormatter(formatter)
logger.addHandler(handler)
def get_logger():
return logger
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...