I need some help understanding what's happening here. This code is from a models/log.py module in web2py, and is meant to allow for global logging.
def _init_log():
logger=logging.getLogger(request.application)
...
return logger
logging=cache.ram('mylog',lambda:_init_log(),time_expire=99999999)
Can someone explain how this might work, and what the last line is doing?
Thanks--