Idris2Doc : Log4Types.Core.Loggable

Log4Types.Core.Loggable

(source)
The Loggable interface for structured log values.

`Loggable` describes how a type renders into structured log fields,
independent of the output format. A single `Loggable` instance works
with any `LogRenderer` -- JSON, text, key-value pairs, etc.

Definitions

interfaceLoggable : Type->Type
  Typeclass for types that can be rendered as structured log data.

Implement `logFields` to describe how your type contributes fields
to a log entry, and `logShow` for human-readable display.

Parameters: a
Methods:
logFields : LogRendererr->a->r->r
  Render all structured fields of this value into the renderer.
logShow : a->String
  Human-readable string representation for log messages.

Implementations:
LoggableString
LoggableInt
LoggableInteger
LoggableNat
LoggableDouble
LoggableBool
Loggablea=>Loggable (Maybea)
Loggablea=>Loggable (Lista)
LoggableLogParamValue
logFields : Loggablea=>LogRendererr->a->r->r
  Render all structured fields of this value into the renderer.

Totality: total
Visibility: public export
logShow : Loggablea=>a->String
  Human-readable string representation for log messages.

Totality: total
Visibility: public export
dataLoggedValue : Type
  An existentially-wrapped loggable value.

Packages a value together with its `Loggable` evidence so it can
be stored in heterogeneous collections and passed without carrying
the type parameter.

Totality: total
Visibility: public export
Constructor: 
MkLoggedValue : Loggablea=>a->LoggedValue

Hint: 
ShowLoggedValue
loggedValueFields : LogRendererr->LoggedValue->r->r
  Render the fields of a LoggedValue using the given renderer.

Totality: total
Visibility: public export
loggedValueShow : LoggedValue->String
  Show a LoggedValue using its Loggable instance.

Totality: total
Visibility: public export