Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
scribe
The fastest logging library in the world. Built from scratch in Scala and programmatically configurable. (by outr)
So I hope the simplest way to do this is echopraxia-plusscala. (ObDisclaimer, I am author.)
You should be able to run echopraxia-scala-example. There are a bunch of features, but you can ignore most of it and just use the features with the provided logstash-logback-encoder setup. Then a simple class with
If you're using Scala 3, Woof is a great logging library that can output to json
I believe Scribe also supports what you want.
We're using https://github.com/logfellow/logstash-logback-encoder with logback (on Play Framework, but should work fine on Lambda as well).