json-logging

command
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package main demonstrates dual-output logging: coloured console for humans and newline-delimited JSON for log aggregators. This is the typical setup for a production service that needs both readable local output and machine-parseable logs for tools like Loki or Elasticsearch.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL