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

Added Proper Logging #25

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

spenceryonce
Copy link

Now, the script includes logging statements to record various actions, such as applying or rejecting changes, script success, or script crash. The log messages are written to a file named wolverine.log. You can customize the logging configuration in the configure_logging function.

moved openai key to a function call for easier calling
allows for accepting changes of individual suggestions
all commands are logged in a log file
with nicely formatted context and datetime
@spenceryonce spenceryonce mentioned this pull request Apr 14, 2023
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