Expand description
§DevLog - Tag-filtered development logging
Controlled by LAND_DEV_LOG environment variable.
The same tags work in Mountain (Rust), Air (Rust), Wind/Sky (TypeScript).
§Usage
LAND_DEV_LOG=lifecycle,grpc ./Air # only lifecycle + gRPC
LAND_DEV_LOG=all ./Air # everything
LAND_DEV_LOG=short ./Air # everything, compressed + deduped
LAND_DEV_LOG=indexing,http ./Air # indexing + HTTP
./Air # nothing (silent daemon)§Short Mode
LAND_DEV_LOG=short enables all tags but compresses output:
- Long app-data paths aliased to
$APP - Consecutive duplicate messages counted (
(x14)suffix) - Rust log targets compressed (
D::Binary::Main::Entry→Entry)
§Tags (Air daemon tags)
| Tag | Scope |
|---|---|
vfs | File stat, read, write, readdir, mkdir, delete, copy |
ipc | IPC routing: invoke dispatch, channel calls |
config | Configuration get/set, env paths, workbench config |
lifecycle | Startup, shutdown, phases, window events |
storage | Storage get/set/delete, items, optimize |
extensions | Extension scanning, activation, management |
update | Update service: check, download, apply |
grpc | gRPC/Vine: server, client, connections |
indexing | File system indexing, symbol extraction, watching |
http | HTTP client requests, responses, retries |
daemon | Daemon lifecycle, lock management, signals |
security | Rate limiting, checksums, secure storage |
metrics | Prometheus-style metrics collection |
air | Air tracing, telemetry, OTLP emission |
resilience | Retry policies, circuit breakers, timeouts |
bootstrap | Effect-TS bootstrap stages |
Structs§
Statics§
Functions§
- Alias
Path - Replace the long app-data path with
$APPin a string. - AppData
Prefix - Get the app-data path prefix for aliasing (cached).
- Detect
AppData 🔒Prefix - EmitOTLP
Span - Emit an OTLP span to the local collector (Jaeger at 127.0.0.1:4318). Fire-and-forget on a background thread. Stops trying after first failure.
- Enabled
Tags 🔒 - Flush
Dedup - Flush the dedup buffer - prints the pending count if > 1.
- GetTrace
Id 🔒 - IsEnabled
- Check if a tag is enabled.
- IsShort
- Whether
LAND_DEV_LOG=shortis active. - NowNano
- rand_
u64 🔒