package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: Aug 3, 2026
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package tag provides typed key/value pairs used to attach structured context
to log entries.
Tag is a single structured key/value pair attached to a log entry.
Component returns a tag with key "component" and the supplied value.
Error returns a Tag with key "error" carrying err's message.
String returns a Tag for the given key and string value.
Stringer returns a Tag whose value is v.String(), evaluated immediately.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.