Skip to content

Update logging - #36

Merged
brokensound77 merged 2 commits into
mainfrom
26-update-logging
Jul 20, 2023
Merged

Update logging#36
brokensound77 merged 2 commits into
mainfrom
26-update-logging

Conversation

@brokensound77

@brokensound77 brokensound77 commented Jul 20, 2023

Copy link
Copy Markdown
Contributor

resolves #26

This PR:

  • exposes --verbose flag to run both stdout and file in debug mode
    • this allows for adding logging.debug statements as needed
  • adds color to the stdout logger
  • increased verbosity of file log format

Todo

  • add a logger for each module (may punt to new PR)

Test

image

The more verbose file logging format adds the file and line number (newer entries)
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Maintenance] Review SWAT logging logger.py

1 participant