Uinta.Formatter.Util (Uinta v0.10.2) View Source

Utilities for building a formatter

Link to this section Summary

Functions

Stringify as JSON

Format as a map with metadata as a map, timestamp, level, and message.

Link to this section Functions

Specs

encode(map()) :: String.t()

Stringify as JSON

Link to this function

format(level, message, timestamp, metadata)

View Source

Format as a map with metadata as a map, timestamp, level, and message.