View Source LoggerJSON.Formatters.Basic (logger_json v6.2.1)
Custom Erlang's :logger
formatter which
writes logs in a JSON format.
For list of options see "Shared options" in LoggerJSON
.
Examples
%{
"message" => "Hello",
"metadata" => %{"domain" => ["elixir"]},
"severity" => "notice",
"time" => "2024-04-11T21:31:01.403Z"
}