Prozi / pixi-shim

PIXI.js Back-End "shim". For mocking Canvas in Node.js with ❤️
https://pietal.dev
46 stars 11 forks source link

Feature: wrap log statements into debug() to allow optional logging #28

Closed SmartArray closed 2 years ago

SmartArray commented 2 years ago

This PR adds optional logging to this awesome project.

You can now set the environment variable DEBUG to "pixi-shim" to enable logging.

Prozi commented 2 years ago

will look into this one in a few days

Prozi commented 2 years ago

thanks for contributing!

Prozi commented 2 years ago

tested I like it and I merged it!

I will publish new versio with this soon after I update readme

thank you @SmartArray