It seems a lot of thought was put into the design of LogTape. I may integrate my logging tool with LogTape. My tool needs the callsite, so I don't think I can just write a LogTape sink; I think it would also have to wrap/extend LogTape itself.
- Automatic namespaces based on calling function + path to source filename/path.
- Can be inserted into the middle of expressions.
- Can output a link that opens the file in your editor/IDE of choice.
- Simple to disable
- Diagnostics/hints to help with installation/configuration
---
I was surprised by the amount of logs already being output (by Vite) when I simply added https://github.com/debug-js/debug to my project.
Fortunately, debug-js output is very simple to filter via ENV and/or localStorage.debug
---
What I look for in a logging library (with more focus on dev/debugging than production):
- Easy to add new logs.
- Easy to identify the location of the code that triggered the log. I noticed a lot of my logging was simply to indicate the start and maybe end of a function call. If needed, I might add additional logs between these.
- Easy to surgically disable/filter groups of logs. Should be easier than commenting/uncommenting calls to logger. Otherwise I end up with lots of uninteresting log chatter (or I delete log statements, only to add them again later...)
insin
I have grown to absolutely despise the LLM "voice".
Gemini Pro switching from showing full "reasoning" output to mind-grating cutesy LLM titles and summaries was the last straw.
lifthrasiir
For non-native speakers, however, LLM-based translation and proofreading is a real godsend. Hong is Korean so that might be the reason why.
simnalamburt
That article looks like it was originally written in English and then translated into Korean.
youknowone
Congratulations on having been born into an environment where you’ve had the privilege of becoming so fluent in English that you feel comfortable complaining about other people’s stylistic choices in writing.
Note: This comment was translated using an LLM.
collingreen
Congratulations on becoming so fluent in English (tool assisted or not) to start gatekeeping and shaming other people's tastes and opinions!
AllegedAlec
> you feel comfortable complaining about other people’s stylistic choices in writing
Yeah, why be such a privileged prick that you belittle someone's diction? Everyone should be free to write how they want to. In fact: if you complain about grammar you're just as fucking classist, you reactionary scum. Hell, there's no real difference between unintelligible grunting and pointing and properly written sentences in a tone appropriate for the context.
zaphirplane
The point being made is that fluency in English is usually due to birth and lack of fluency isn’t an indicator of stupidity
To be simplistic, fluency in English is not an indicator of greater intelligence than someone born to non English speaking parents
Hope it helps
AllegedAlec
It does not because no one said or even implied anything like that.
---
I built a DX-focused logging library on top of debug-js. Notable features of https://github.com/Leftium/gg:
- Automatic namespaces based on calling function + path to source filename/path.
- Can be inserted into the middle of expressions.
- Can output a link that opens the file in your editor/IDE of choice.
- Simple to disable
- Diagnostics/hints to help with installation/configuration
---
I was surprised by the amount of logs already being output (by Vite) when I simply added https://github.com/debug-js/debug to my project.
Fortunately, debug-js output is very simple to filter via ENV and/or localStorage.debug
---
What I look for in a logging library (with more focus on dev/debugging than production):
- Easy to add new logs.
- Easy to identify the location of the code that triggered the log. I noticed a lot of my logging was simply to indicate the start and maybe end of a function call. If needed, I might add additional logs between these.
- Easy to surgically disable/filter groups of logs. Should be easier than commenting/uncommenting calls to logger. Otherwise I end up with lots of uninteresting log chatter (or I delete log statements, only to add them again later...)
Gemini Pro switching from showing full "reasoning" output to mind-grating cutesy LLM titles and summaries was the last straw.
Yeah, why be such a privileged prick that you belittle someone's diction? Everyone should be free to write how they want to. In fact: if you complain about grammar you're just as fucking classist, you reactionary scum. Hell, there's no real difference between unintelligible grunting and pointing and properly written sentences in a tone appropriate for the context.
Hope it helps