TimelessLogs.Entry (timeless_logs v1.4.2)

Copy Markdown View Source

A single log entry.

Summary

Types

t()

@type t() :: %TimelessLogs.Entry{
  level: atom(),
  message: String.t(),
  metadata: %{required(String.t()) => String.t()},
  timestamp: integer()
}

Functions

from_map(map)

@spec from_map(map()) :: t()