which logger can i use which is async and can output to json? i want to write a handler for this output which will post it to a remote server.
i’ve tried slog but couldn’t figure out how to do it.
please provide code examples
Here’s a basic (highly imperfect) example which implements the
log::Log trait and spawns a new thread for each log call: