Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
25 lines
1.1 KiB
Plaintext
25 lines
1.1 KiB
Plaintext
import { DsnComponents } from '../types-hoist/dsn';
|
|
import { LogContainerItem, LogEnvelope } from '../types-hoist/envelope';
|
|
import { SerializedLog } from '../types-hoist/log';
|
|
import { SdkMetadata } from '../types-hoist/sdkmetadata';
|
|
/**
|
|
* Creates a log container envelope item for a list of logs.
|
|
*
|
|
* @param items - The logs to include in the envelope.
|
|
* @returns The created log container envelope item.
|
|
*/
|
|
export declare function createLogContainerEnvelopeItem(items: Array<SerializedLog>): LogContainerItem;
|
|
/**
|
|
* Creates an envelope for a list of logs.
|
|
*
|
|
* Logs from multiple traces can be included in the same envelope.
|
|
*
|
|
* @param logs - The logs to include in the envelope.
|
|
* @param metadata - The metadata to include in the envelope.
|
|
* @param tunnel - The tunnel to include in the envelope.
|
|
* @param dsn - The DSN to include in the envelope.
|
|
* @returns The created envelope.
|
|
*/
|
|
export declare function createLogEnvelope(logs: Array<SerializedLog>, metadata?: SdkMetadata, tunnel?: string, dsn?: DsnComponents): LogEnvelope;
|
|
//# sourceMappingURL=envelope.d.ts.map
|