Semparse Docs
SDK Reference@workspace/semparse-sdk-coreFunctions

Function: captureMessage()

@workspace/semparse-sdk-core


@workspace/semparse-sdk-core / captureMessage

Function: captureMessage()

captureMessage(input): Promise<SemparseCaptureResult | undefined>

Captures a message through the active client. Returns undefined when the SDK has not been initialized.

Parameters

input

SemparseBreadcrumb[]

contexts?

SemparseContextMap

level?

SemparseSeverity

message

string

tags?

SemparseTagMap

user?

SemparseUser

Returns

Promise<SemparseCaptureResult | undefined>

On this page