How to ALSO send kotlin-logging logs (sl4j-simple?) to my own back-end
I have a working solution using kotlin-logging and slf4j-simple. It happily prints to the console.
Question: I'd like to also send log lines to my own function so I can save them to my alternate destination (that isn't one of the built-in ones like a file).
Is there an easy interface I override? With the four layers (kotlin-logging, slf4j, slf4j-simple, Logger) I'm unsure where to start. I thought it would be as easy as
someLoggingThing.addDestinationForSufficientlySevere(object:Logger...