Documentation
¶
Overview ¶
Package unitlog centralises how lerd locates a unit's logs across platforms: whether a unit runs as a detached podman container (logs via `podman logs`) versus a launchd-supervised service on macOS (logs in ~/Library/Logs/lerd), and the framework-worker classification both decisions lean on. Shared by the UI log streamer and the logsource reader so the rules live in one place.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsContainerUnit ¶
IsContainerUnit returns true on Linux — all lerd units run as Podman containers, so their logs come from `podman logs` / the journal.
func IsFrameworkWorkerUnit ¶
IsFrameworkWorkerUnit reports whether unit looks like a built-in framework worker (queue, schedule, horizon, reverb).
Types ¶
This section is empty.