I wrote about building “structured logging” from s...
# server
c
I wrote about building “structured logging” from scratch in a Kotlin-first web framework I’m working on, using
kotlinx.serialization
- hope you enjoy reading 🙂 https://www.carrot.blog/posts/2022/03/building-pellet-structured-logging/
🆒 2
p
nice! any differences you can highlight with https://github.com/MicroUtils/kotlin-logging
👍 1
c
Wasn’t aware of that library - it looks a bit similar but the one in Pellet doesn’t require a logging implementation (comes with one built in), and doesn’t support SLF4J configuration - just does structured logging as the one option for now. It does bridge SLF4J calls though, they’ll just get funneled in to the built-in logger. That could be a positive or a negative depending how you feel about it 🙂
👍 1
176 Views