View Source SlimLogger.Formatter (Slim Logger v0.3.0)

A slim formatter for one-line log entries (e.g. method=GET format=html).

Implementation based on the Logster string formatter.

Link to this section Summary

Functions

Formats a map of parameters.

Link to this section Functions

@spec format(params :: Keyword.t()) :: Keyword.t()

Formats a map of parameters.

iex> Formatter.format([method: :get, count: 3.0])
[["method", "=", "get"], 32, ["count", "=", "3.000"]]