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 addition - add clearLogs function #109

Merged
merged 3 commits into from
Dec 11, 2023

Conversation

nickcastel50
Copy link
Contributor

Add a clearLogs function to optionally clear the logs between runs.

console.table(Logger.logs)

if (clearLogs) {
Copy link
Member

Choose a reason for hiding this comment

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

I would remove this and just have the clearLogs method as displayLogs(true) reads weird. Client will just clear when the want to clear

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

@nickcastel50 nickcastel50 merged commit c4cf93c into bldrs-ai:main Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants