unitlog

package
v1.28.1 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: MIT Imports: 1 Imported by: 0

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

func IsContainerUnit(_ string) bool

IsContainerUnit returns true on Linux — all lerd units run as Podman containers, so their logs come from `podman logs` / the journal.

func IsFrameworkWorkerUnit

func IsFrameworkWorkerUnit(unit string) bool

IsFrameworkWorkerUnit reports whether unit looks like a built-in framework worker (queue, schedule, horizon, reverb).

Types

This section is empty.

Jump to

Keyboard shortcuts

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