Xetera / ghost-cursor

🖱️ Generate human-like mouse movements with puppeteer or on any 2D plane
MIT License
1.03k stars 120 forks source link

Implemented a feature that allows to enable/disable logging when needed. #107

Closed rviar closed 11 months ago

rviar commented 11 months ago

Changes Made:

Why I Made These Changes: In our development process, it's often crucial to have control over the verbosity of logs. Excessive logging can clutter the logs and make it challenging to identify meaningful information during debugging or troubleshooting. With this new "debug" package, we can now easily toggle logging on and off as needed, allowing us to keep our logs clean and focused on the most relevant information.

How to Use the Debug Package: I've documented how to use the "debug" package in the library's README file. Please refer to the documentation for detailed instructions on how to enable or disable logging as well as other features provided by the package.

Niek commented 11 months ago

Look good to me! Merged now, thanks!