@salesforce/b2c-tooling-sdk / operations/mrt / WatchMrtLogsOptions
Interface: WatchMrtLogsOptions
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/watch-logs.ts:18
Entry filters applied as entries arrive, before buffering.
Extends
Properties
bufferBytesCap?
optionalbufferBytesCap:number
Defined in: packages/b2c-tooling-sdk/src/operations/logs/watch-buffer.ts:39
Maximum buffered bytes. Default: 50 MiB.
Inherited from
LogWatchBufferOptions.bufferBytesCap
bufferCap?
optionalbufferCap:number
Defined in: packages/b2c-tooling-sdk/src/operations/logs/watch-buffer.ts:37
Maximum buffered entries. Default: 5000.
Inherited from
LogWatchBufferOptions.bufferCap
environmentSlug
environmentSlug:
string
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/watch-logs.ts:22
MRT environment slug.
level?
optionallevel:string[]
Defined in: packages/b2c-tooling-sdk/src/operations/logs/watch-buffer.ts:30
Keep only these levels (case-insensitive). Entries without a level are dropped when set.
Inherited from
origin?
optionalorigin:string
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/watch-logs.ts:24
MRT API origin URL.
projectSlug
projectSlug:
string
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/watch-logs.ts:20
MRT project slug.
search?
optionalsearch:string
Defined in: packages/b2c-tooling-sdk/src/operations/logs/watch-buffer.ts:32
Keep only entries whose message or raw line contains this text (case-insensitive).
Inherited from
tail()?
optionaltail: (options,auth) =>Promise<TailMrtLogsResult>
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/watch-logs.ts:28
Replaces tailMrtLogs, for tests.
Parameters
options
auth
Returns
Promise<TailMrtLogsResult>
user?
optionaluser:string
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/watch-logs.ts:26
User email sent with the log stream connection.