Logging

In alchemlyb, we use loguru for logging. By default, the loguru will print the logging information into the sys.stderr.

Save to a file

Alternatively, one could save to a file simply with

from loguru import logger
logger.add("file_{time}.log")

See configure to log to a file for more explanation.