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

Reduce log noise #12

Closed
canadaohcanada opened this issue May 11, 2020 · 3 comments
Closed

Reduce log noise #12

canadaohcanada opened this issue May 11, 2020 · 3 comments

Comments

@canadaohcanada
Copy link

this.log(`${this.name} getCurrentPosition : ${reportCurrentPosition}${check99 ? ` (Actual ${this.currentPosition})` : ''}`);

this.log(`${this.name} getTargetPosition : ${reportTargetPosition}${check99 ? ` (Actual ${this.targetPosition})` : ''}`);

Would it be possible to hide these lines behind a debug config switch? For normal use these lines are noisy. Thanks for this great plugin, I've really enjoyed using it over the past month or so.

@apexad
Copy link
Owner

apexad commented May 12, 2020

Definitely! Will get to this in a few hours. Feel free to create a PR too and I can merge it.

@apexad apexad closed this as completed in 8f7119a May 13, 2020
@apexad
Copy link
Owner

apexad commented May 13, 2020

I always forget to update config schema, so v1.5.1 made the change and v1.5.2 adds to config schema.

@canadaohcanada
Copy link
Author

Brilliant! Thank you so much.

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

No branches or pull requests

2 participants