Skip to content

Conversation

anonymousRecords
Copy link
Contributor

Description

related #116

  • I added a conditional logging mechanism for debugging in the development environment.

@ruucm
Copy link
Owner

ruucm commented Jan 8, 2025

I was thinking about some methods to hide & show logs with special controls.

like loglevel

@anonymousRecords
Copy link
Contributor Author

@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

image

debug.disableAll()

image
image

@ruucm
Copy link
Owner

ruucm commented Jan 26, 2025

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

@ruucm ruucm merged commit 5561e43 into ruucm:main Jul 2, 2025
1 check failed
@ruucm
Copy link
Owner

ruucm commented Jul 2, 2025

merged thanks @anonymousRecords

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

Successfully merging this pull request may close these issues.

2 participants