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

Make console.log and console.warn instructions optional #129

Open
BrightSoul opened this issue Jul 20, 2021 · 0 comments
Open

Make console.log and console.warn instructions optional #129

BrightSoul opened this issue Jul 20, 2021 · 0 comments

Comments

@BrightSoul
Copy link

BrightSoul commented Jul 20, 2021

Hi and thanks very much for this library!
I'd like to exclude the console.log and console.warn instructions since they're polluting the console with messages.

console.log("Wake Lock active.");

A configuration option would be enough:

const noSleep = new NoSleep({ silent: true });

Do you accept pull requests?

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

1 participant