ASM.Extensions.Rendering.Sinks.JSONL (ASM v0.9.2)

Copy Markdown View Source

Sink that writes events as newline-delimited JSON.

Options:

  • :path (required unless :io is provided)
  • :io (optional pre-opened IO device; not closed by this sink)
  • :append (optional, default false)
  • :mode (:full or :compact, default :full)

Summary

Types

t()

@type t() :: %{
  path: String.t() | nil,
  io: term(),
  owns_io: boolean(),
  mode: :full | :compact
}