Class: LogTruncationStrategy
Hierarchy​
↳
LogTruncationStrategy
Constructors​
constructor​
• new LogTruncationStrategy(options?
)
Parameters​
Name | Type |
---|---|
options | StrategyOptions |
Overrides​
Defined in​
strategies/log-truncation-strategy.ts:11
Accessors​
coordinator​
• get
coordinator(): undefined
| Coordinator
Returns​
undefined
| Coordinator
Inherited from​
Strategy.coordinator
Defined in​
logLevel​
• get
logLevel(): undefined
| LogLevel
Returns​
undefined
| LogLevel
Inherited from​
Strategy.logLevel
Defined in​
logPrefix​
• get
logPrefix(): string
Returns​
string
Inherited from​
Strategy.logPrefix
Defined in​
name​
• get
name(): string
Returns​
string
Inherited from​
Strategy.name
Defined in​
sources​
• get
sources(): Source
<RequestOptions
, RequestOptions
, unknown
, unknown
>[]
Returns​
Source
<RequestOptions
, RequestOptions
, unknown
, unknown
>[]
Inherited from​
Strategy.sources
Defined in​
Methods​
_connectSource​
â–¸ _connectSource(source
): void
Parameters​
Name | Type |
---|---|
source | Source <RequestOptions , RequestOptions , unknown , unknown > |
Returns​
void
Defined in​
strategies/log-truncation-strategy.ts:74
_disconnectSource​
â–¸ _disconnectSource(source
): void
Parameters​
Name | Type |
---|---|
source | Source <RequestOptions , RequestOptions , unknown , unknown > |
Returns​
void
Defined in​
strategies/log-truncation-strategy.ts:86
_review​
â–¸ _review(source
): Promise
<void
>
Parameters​
Name | Type |
---|---|
source | Source <RequestOptions , RequestOptions , unknown , unknown > |
Returns​
Promise
<void
>
Defined in​
strategies/log-truncation-strategy.ts:37
_truncateSources​
â–¸ _truncateSources(transformId
, relativePosition
): Promise
<void
>
Parameters​
Name | Type |
---|---|
transformId | string |
relativePosition | number |
Returns​
Promise
<void
>
Defined in​
strategies/log-truncation-strategy.ts:63
activate​
â–¸ activate(coordinator
, options?
): Promise
<void
>
Parameters​
Name | Type |
---|---|
coordinator | Coordinator |
options | ActivationOptions |
Returns​
Promise
<void
>
Overrides​
Defined in​
strategies/log-truncation-strategy.ts:18
afterSourceActivation​
â–¸ afterSourceActivation(): Promise
<void
>
Returns​
Promise
<void
>
Inherited from​
Strategy.afterSourceActivation
Defined in​
afterSourceDeactivation​
â–¸ afterSourceDeactivation(): Promise
<void
>
Returns​
Promise
<void
>
Inherited from​
Strategy.afterSourceDeactivation
Defined in​
beforeSourceActivation​
â–¸ beforeSourceActivation(): Promise
<void
>
Returns​
Promise
<void
>
Inherited from​
Strategy.beforeSourceActivation
Defined in​
beforeSourceDeactivation​
â–¸ beforeSourceDeactivation(): Promise
<void
>
Returns​
Promise
<void
>
Inherited from​
Strategy.beforeSourceDeactivation
Defined in​
deactivate​
â–¸ deactivate(): Promise
<void
>
Returns​
Promise
<void
>