Skip to content

v0.0.0

Latest

Choose a tag to compare

@lighthouse-publisher lighthouse-publisher released this 03 Nov 00:30

v0.0.0 (2026-11-02)

First version.

Added

  • New: a *slog.Logger writing one JSON record per line to stderr, or readable text when APP_ENV=dev, with UTC times.
  • LOG_FORMAT and LOG_LEVEL settings, with Options to override them. A value it can't use falls back to the default and logs an error.
  • Values under sensitive field names, such as password and token, are written as [redacted].
  • Secret: a string that stays hidden in logs, fmt and JSON under any field name.
  • WithRequestID and RequestID: adds request_id to records logged with a context.
  • The logging standard in the README: the fields every project uses, and when to use each level.