Skip to main content
Version: 0.17

Class: LogTruncationStrategy

Hierarchy​

Constructors​

constructor​

• new LogTruncationStrategy(options?)

Parameters​

NameType
optionsStrategyOptions

Overrides​

Strategy.constructor

Defined in​

strategies/log-truncation-strategy.ts:11

Accessors​

coordinator​

• get coordinator(): undefined | Coordinator

Returns​

undefined | Coordinator

Inherited from​

Strategy.coordinator

Defined in​

strategy.ts:90


logLevel​

• get logLevel(): undefined | LogLevel

Returns​

undefined | LogLevel

Inherited from​

Strategy.logLevel

Defined in​

strategy.ts:102


logPrefix​

• get logPrefix(): string

Returns​

string

Inherited from​

Strategy.logPrefix

Defined in​

strategy.ts:98


name​

• get name(): string

Returns​

string

Inherited from​

Strategy.name

Defined in​

strategy.ts:86


sources​

• get sources(): Source<RequestOptions, RequestOptions, unknown, unknown>[]

Returns​

Source<RequestOptions, RequestOptions, unknown, unknown>[]

Inherited from​

Strategy.sources

Defined in​

strategy.ts:94

Methods​

_connectSource​

â–¸ _connectSource(source): void

Parameters​

NameType
sourceSource<RequestOptions, RequestOptions, unknown, unknown>

Returns​

void

Defined in​

strategies/log-truncation-strategy.ts:74


_disconnectSource​

â–¸ _disconnectSource(source): void

Parameters​

NameType
sourceSource<RequestOptions, RequestOptions, unknown, unknown>

Returns​

void

Defined in​

strategies/log-truncation-strategy.ts:86


_review​

â–¸ _review(source): Promise<void>

Parameters​

NameType
sourceSource<RequestOptions, RequestOptions, unknown, unknown>

Returns​

Promise<void>

Defined in​

strategies/log-truncation-strategy.ts:37


_truncateSources​

â–¸ _truncateSources(transformId, relativePosition): Promise<void>

Parameters​

NameType
transformIdstring
relativePositionnumber

Returns​

Promise<void>

Defined in​

strategies/log-truncation-strategy.ts:63


activate​

â–¸ activate(coordinator, options?): Promise<void>

Parameters​

NameType
coordinatorCoordinator
optionsActivationOptions

Returns​

Promise<void>

Overrides​

Strategy.activate

Defined in​

strategies/log-truncation-strategy.ts:18


afterSourceActivation​

â–¸ afterSourceActivation(): Promise<void>

Returns​

Promise<void>

Inherited from​

Strategy.afterSourceActivation

Defined in​

strategy.ts:81


afterSourceDeactivation​

â–¸ afterSourceDeactivation(): Promise<void>

Returns​

Promise<void>

Inherited from​

Strategy.afterSourceDeactivation

Defined in​

strategy.ts:84


beforeSourceActivation​

â–¸ beforeSourceActivation(): Promise<void>

Returns​

Promise<void>

Inherited from​

Strategy.beforeSourceActivation

Defined in​

strategy.ts:80


beforeSourceDeactivation​

â–¸ beforeSourceDeactivation(): Promise<void>

Returns​

Promise<void>

Inherited from​

Strategy.beforeSourceDeactivation

Defined in​

strategy.ts:83


deactivate​

â–¸ deactivate(): Promise<void>

Returns​

Promise<void>

Overrides​

Strategy.deactivate

Defined in​

strategies/log-truncation-strategy.ts:29