Not entirely wrong, but supporting log levels natively is a fairly decent “niceness” instead of parsing text to do it.
Text, though, is a pretty universal interface and I would rather wrap a binary and stream it’s output than integrate a logging library natively.
I did work with a product once that had local logs in a ring buffer and only shipped “important” logs to centralised storage, and that was nice but required context which can’t be easily gleaned from the content of a message.
Text, though, is a pretty universal interface and I would rather wrap a binary and stream it’s output than integrate a logging library natively.
I did work with a product once that had local logs in a ring buffer and only shipped “important” logs to centralised storage, and that was nice but required context which can’t be easily gleaned from the content of a message.