With this PR, I understood you actually want to replace the default _ksr_slog_func(...)
That is right.
so I added the option to be able to set the _ksr_slog_func.
Thanks!
I'll try to submit another PR with improvements to the `LOG_XX` macro as mentioned above for a uniform logging entry point.