Is it possible to acheive the same logging format/...
# ktor
z
Is it possible to acheive the same logging format/colors as the ktor framework, in my custom logging solution? Ive tried a bunch of different logging tools, but ultimately they all end up printing stuff in red, and with additional data thats just making it harder to read logs. See screenshots below for samples on both.
a
Do you mean when the
CallLogging
plugin is used?
If so we use the jansi library.
z
Yes, exactly! Ill check out jansi to see how theyre doing it, thank you!
Seems like slf4j was the only thing I needed, now everything is pretty and I can understand my own logs again 🙂