# LogOptions

`import { LogOptions } from "destack:telemetry";`

Structured log options.

```ds title="LogOptions"
export type LogOptions<'a> = { fields?: Fields | undefined; message?: &'a readonly string | undefined; error?: unknown | undefined; span?: SpanContext | undefined }
```

[language/library/src/telemetry/log.ds:6:18](https://github.com/destack-sh/destack/blob/main/language/library/src/telemetry/log.ds#L6-L18)
