shadergradient
shadergradient copied to clipboard
Add development-only logging for material initialization
Description
related #116
- I added a conditional logging mechanism for debugging in the development environment.
@ruucm I reviewed the recommended loglevel library. However, after analyzing the issue, I concluded that "performance measurement" is a more important criterion. Therefore, I decided to change it based on the debug pattern.
default
debug.disableAll()
is this possible to use in next.js? I'm worried about using the window value
and how about following this structure of logs?
https://github.com/chrisgoringe/cg-use-everywhere/blob/main/js/use_everywhere_utilities.js
merged thanks @anonymousRecords