BuildTransportInput
Defined in: observability/src/logger/transports.ts:15
Inputs for buildTransport.
Properties
Section titled “Properties”axiom?
Section titled “axiom?”
optionalaxiom?:AxiomTransportConfig
Defined in: observability/src/logger/transports.ts:19
Axiom credentials. When absent, no Axiom transport is wired.
ci:
boolean
Defined in: observability/src/logger/transports.ts:21
true inside CI — suppresses pino-pretty.
consoleOutput?
Section titled “consoleOutput?”
optionalconsoleOutput?:boolean
Defined in: observability/src/logger/transports.ts:36
Explicit override for whether human-visible console output (pretty or
NDJSON) runs at all, independent of level. undefined (default)
preserves the existing ci/tty auto-detection below. false
suppresses console output entirely, regardless of ci/tty — Axiom
(if configured) is unaffected. When nothing else is wired either,
createPinoInstance routes to a null destination instead of
falling back to Pino’s own default stdout — see its doc for why that
distinction matters.
level:
LogLevel
Defined in: observability/src/logger/transports.ts:17
Resolved log level — applied uniformly to every transport.
telemetryDisabled
Section titled “telemetryDisabled”telemetryDisabled:
boolean
Defined in: observability/src/logger/transports.ts:25
true when HOLOCRON_TELEMETRY=false — suppresses the Axiom transport only.
tty:
boolean
Defined in: observability/src/logger/transports.ts:23
process.stdout.isTTY — pino-pretty only makes sense on a TTY.