Documentation
¶
Overview ¶
Package logging provides a standardized logger construction for all OpenChoreo components.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bootstrap ¶
Bootstrap creates a minimal logger for pre-configuration errors. It writes JSON to stderr and includes the component field. Use this before any configuration is loaded.
func FromContext ¶
FromContext retrieves the logger from context. Returns slog.Default() if no logger is found.
func NewContext ¶
NewContext returns a new context with the logger attached.
Types ¶
Click to show internal directories.
Click to hide internal directories.