Gelato
An opinionated logger backend helper library to log events with telemetry attached.
Installation
def deps do
[
{:gelato, "~> 0.2"}
]
endUsage
# sends the single event with attached process info to Elastic server
Logger.info "users", name: "John", reference: "U-123456789"
# sends the “in” and “out” events to Elastic server, with some collected
# stats in “out” events; discards process info
Gelato.bench :info, "users", name: "John", reference: "U-123456789", process_info: "N/A"