Realcat
add: GIM (https://github.com/xuelunshen/gim)
4d4dd90
raw
history blame
444 Bytes
import logging
from .utils.experiments import load_experiment # noqa: F401
formatter = logging.Formatter(
fmt="[%(asctime)s %(name)s %(levelname)s] %(message)s", datefmt="%m/%d/%Y %H:%M:%S"
)
handler = logging.StreamHandler()
handler.setFormatter(formatter)
handler.setLevel(logging.INFO)
logger = logging.getLogger(__name__)
logger.setLevel(logging.INFO)
logger.addHandler(handler)
logger.propagate = False
__module_name__ = __name__