Skip to main content
`Ctrl`+`K`

# aequilibrae.project.Log

class aequilibrae.project.Log(project_base_path: str)

  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)

  Methods

  `__init__`(project_base_path) |
  `clear`() | Clears the log file.
  `contents`() | Returns contents of log file

  clear()

    Clears the log file. Use it wisely

  contents() → list

    Returns contents of log file

    Returns:

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