Class: EventLoggingStrategy
Hierarchy​
↳
EventLoggingStrategy
Constructors​
constructor​
• new EventLoggingStrategy(options?
)
Parameters​
Name | Type |
---|---|
options | EventLoggingStrategyOptions |
Overrides​
Defined in​
strategies/event-logging-strategy.ts:26
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​
activate​
â–¸ activate(coordinator
, options?
): Promise
<void
>
Parameters​
Name | Type |
---|---|
coordinator | Coordinator |
options | ActivationOptions |
Returns​
Promise
<void
>
Overrides​
Defined in​
strategies/event-logging-strategy.ts:37
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
>