Skip to content
View as Markdown
View as Markdown

@salesforce/b2c-tooling-sdk / operations/logs / matchesSearch

Function: matchesSearch()

matchesSearch(entry, search): boolean

Defined in: packages/b2c-tooling-sdk/src/operations/logs/filter.ts:116

Checks if a single entry matches the search text (case-insensitive). Used for streaming/tail scenarios where we filter one entry at a time.

Parameters

entry

LogEntry

string

Returns

boolean

Released under the Apache-2.0 License.