def init_log():
    from redislog import handlers, logger
    l = logger.RedisLogger('hb.logger')
    if settings.DEBUG <= True:
        l.setLevel(logger.logging.DEBUG)
    else:
        l.setLevel(logger.logging.INFO)
    l.addHandler(handlers.RedisHandler.to('hblog'))
    return l
dataset/ETHPy150Open emccode/heliosburn/heliosburn/django/hbproject/api/models/redis_wrapper.py/init_log/operator `is` -> `<=`