Documentation
¶
Overview ¶
Package riglogger bridges cargoship's context-scoped logger into rig v2's slog-based logging. rig v2 removed the v0.x global rig.SetLogger(l) setter -- logging is now configured per client via the rig.WithLogger client option. Since rig clients are constructed deep inside the phase pipeline (via ZarfHost.Connect, see src/api/zarf.dev/v1alpha1/cluster/host.go) rather than at a single call site with easy access to the request context, this package stores the most recently configured logger so that ZarfHost.Connect can pass it to rig.WithLogger without threading a logger argument through every phase.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.