LogRecord
@forge/monorepo / backend/src / LogRecord
Type Alias: LogRecord
LogRecord =
object
Defined in: backend/src/telemetry/index.ts:172
A structured log line.
event is a closed union of literals, not free text — see log-events.ts. That is the structural half
of AC-5: a caller physically cannot put a prompt in the message, because the message is not a string it
controls. The redaction allowlist then handles the fields. A denylist over free-text messages would be
checking every line forever and losing the one added on a Friday.
Properties
at
readonlyat:string
Defined in: backend/src/telemetry/index.ts:177
context
readonlycontext:TelemetryContext
Defined in: backend/src/telemetry/index.ts:175
event
readonlyevent:LogEvent
Defined in: backend/src/telemetry/index.ts:174
fields
readonlyfields:Readonly<Record<string,AttributeValue>>
Defined in: backend/src/telemetry/index.ts:176
level
readonlylevel:LogLevel
Defined in: backend/src/telemetry/index.ts:173