-
So I am using I was thinking that one workaround would be to create a thin wrapper around I.e. In the Java App, I'd do something like : logger.info("Some log {}", Map.of("key","value","structured": true)) Then the wrapper would look for any maps in the log event that have Is there a better way? Perhaps a way that could be done in pure Essentially I want to pre-process the log event, but from my limited research pre-processing logs doesn't seem to be a thing? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I use something like that: |
Beta Was this translation helpful? Give feedback.
I use something like that:
logger.atInfo().addKeyValue("key", "value").log("message: {}", message)