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

Rename logger and make debug logging optional #176

Merged
merged 5 commits into from
Sep 6, 2023
Merged

Rename logger and make debug logging optional #176

merged 5 commits into from
Sep 6, 2023

Conversation

ieivanov
Copy link
Collaborator

@ieivanov ieivanov commented Sep 5, 2023

This PR changed the name of the copylot logger from application to copylot and makes debug logging to a text file optional. Debug logging can be enabled with:

import copylot

copylot.enable_logging()

Copy link
Contributor

@edyoshikun edyoshikun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think is a good idea especially when using copylot in other projects like mantis.
Thanks for the work @ieivanov!

@ieivanov
Copy link
Collaborator Author

ieivanov commented Sep 6, 2023

Thanks @edyoshikun! As you see it, should we wait for anyone else to approve this before merging?

@edyoshikun
Copy link
Contributor

edyoshikun commented Sep 6, 2023

@ieivanov I don't think this is a breaking change. The tests also do not depend on whether something is outputted and currently the primary users are us. Considering that the other projects (i.e Daxi, Photom,etc) are on pause and there is no other active developer we can proceed to merge.
Screenshot 2023-09-06 at 2 34 49 PM

@ieivanov ieivanov merged commit 5a03800 into main Sep 6, 2023
4 checks passed
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.

2 participants