ExperimentSession.log#

property ExperimentSession.log[source]#

Alfred’s logging interface.

The interface uses Python’s logging module under the hood, which is why it offers the same basic logging functions, debug, info, warning, error, exception, and log.

Examples

Logging during setup:

import alfred3 as al
exp = al.Experiment()

@exp.setup
def setup(exp):
    exp.log.info("Setup is starting")

exp += al.Page(name="demo")
Type

alfred3.alfredlog.QueuedLoggingInterface