Skip to content
View as Markdown
View as Markdown

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

Function: matchesLevel()

matchesLevel(entry, levels): boolean

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

Checks if a single entry matches the specified log levels. Used for streaming/tail scenarios where we filter one entry at a time.

Parameters

entry

LogEntry

levels

string[]

Returns

boolean

Released under the Apache-2.0 License.