interface MetadataOptions
| Language | Type name |
|---|---|
.NET | Constructs.MetadataOptions |
Java | software.constructs.MetadataOptions |
Python | constructs.MetadataOptions |
TypeScript (source) | constructs » MetadataOptions |
Options for construct.addMetadata().
Properties
| Name | Type | Description |
|---|---|---|
| stack | boolean | Include stack trace with metadata entry. |
| stack | string[] | The actual stack trace to be added to the metadata. |
| trace | any | A JavaScript function to begin tracing from. |
stackTrace?
Type:
boolean
(optional, default: false)
Include stack trace with metadata entry.
stackTraceOverride?
Type:
string[]
(optional)
The actual stack trace to be added to the metadata.
If this parameter is passed, the stackTrace parameter is ignored.
traceFromFunction?
Type:
any
(optional, default: addMetadata())
A JavaScript function to begin tracing from.
This option is ignored unless stackTrace is true.

.NET
Java
Python
TypeScript (