The fvGP package uses the Loguru library for sophisticated log management. This follows similar principles as the vanilla Python logging framework, with additional functionality and performance benefits. You may want to enable logging in interactive use, or for debugging purposes.

Configuring logging

To enable logging in fvGP:

from loguru import logger

To configure the logging level:

logger.add(sys.stdout, filter="fvgp", level="INFO")

See Python’s reference on levels for more info.

To log to a file:


Loguru provides many further options for configuration.