Idris2Doc : Log4Types.JSON

Log4Types.JSON

(source)
JSON backend for log4types structured logging.

Provides a `LogRenderer` that builds `Language.JSON.JSON` values,
and encoding functions for producing JSON log lines from messages.

Definitions

jsonRenderer : LogRendererJSON
  A LogRenderer that builds JSON objects.

Fields are accumulated as key-value pairs in a `JObject`.
Nested objects are represented as sub-objects.

Totality: total
Visibility: public export
paramValueToJSON : LogParamValue->JSON
  Convert a LogParamValue to a JSON value.

Totality: total
Visibility: public export
encodeLoggable : Loggablea=>a->JSON
  Encode any Loggable value as a JSON object.

Totality: total
Visibility: public export
encodeLoggableStr : Loggablea=>a->String
  Encode any Loggable value as a JSON string.

Totality: total
Visibility: public export
jsonLogStdout : (HasIOio, Loggablea) =>LogActionioa
  A log action that encodes Loggable values as JSON lines to stdout.

Totality: total
Visibility: public export