Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging #83

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Logging #83

wants to merge 7 commits into from

Conversation

nahmed3536
Copy link
Contributor

Summary Added logging messages with levels and toggles (based on Python's logging library). By default, it will log out what it previously did (all the messages). However now, a user can set the log level to just get results (./gpu_burn -L 2). The output is also a bit more structured making it easier to read.

Test:
./gpu_burn -l 1: logs out everything that used to be logged out
./gpu_burn -l 2: logs out results only

There are other log levels as well for more customizability in the future.

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.

1 participant