console.debug()
? Hmm, never heard of this before. Thanks to this post I immediately learnt what it does.
I am unlocking many new JavaScript capabilities this month! 😄
This is a Lemmy Community for perchance.org, a platform for sharing and creating random text generators.
Feel free to ask for help, share your generators, and start friendly discussions at your leisure :)
This community is mainly for discussions between those who are building generators. For discussions about using generators, especially the popular AI ones, the community-led Casual Perchance forum is likely a more appropriate venue.
See this post for the Complete Guide to Posting Here on the Community!
1. Please follow the Lemmy.World instance rules.
2. Be kind and friendly.
3. Be thankful to those who try to help you.
4. Only post about stuff related to perchance.
5. Refrain from requesting Prompts for the AI Tools.
text-to-image-plugin
and ai-text-plugin
) e.g. "What is the good prompt for X?", "How to achieve X with Y generator?"6. Search through the Community Before Posting.
console.debug()
? Hmm, never heard of this before. Thanks to this post I immediately learnt what it does.
I am unlocking many new JavaScript capabilities this month! 😄
Yeah interesting isn't it? I knew there was this "verbose" category but not what counted as it.
There's also console.info()
you can use to explicitly send to the "info" category. And console.warn()
, and console.error()
.
Today I learned - thanks! I was thinking about how annoying all the internal/plugin logs were recently, but didn't know about console.debug
(I was going to fix via a localStorage
flag). Let me know if there are any stray logs that I've missed in the engine, or commonly used plugins.
I've kept ai-text-plugin input logging for each generation request, since I use that all the time (to make sure I've not made any mistakes constructing my prompt), so I assume others will find it useful too.
Great--I'm so happy! :D
I'll bookmark this comment and come back to let you know if I spot more logs that should be .debug()
Cool, will do 👍