aequilibrae.project.Log#

class aequilibrae.project.Log(project_base_path: str)[source]#

API entry point to the log file contents

>>> project = Project()
>>> project.new(project_path)

>>> log = project.log()

# We get all entries for the log file
>>> entries = log.contents()

# Or clear everything (NO UN-DOs)
>>> log.clear()
__init__(project_base_path: str)[source]#

Methods

__init__(project_base_path)

clear()

Clears the log file.

contents()

Returns contents of log file

clear()[source]#

Clears the log file. Use it wisely

contents() list[source]#

Returns contents of log file

Returns:

log_contents (list): List with all entries in the log file