aisbreaker-api-js - v0.1.15 / services/filters/LoggingFilter / LoggingFilter
Class: LoggingFilter
services/filters/LoggingFilter.LoggingFilter
Every service API must implement this interface.
Hierarchy
BaseAIsFilter
<LoggingFilterProps
>↳
LoggingFilter
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new LoggingFilter(serviceProps
, auth?
)
Parameters
Name | Type |
---|---|
serviceProps | LoggingFilterProps |
auth? | Auth |
Overrides
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/services/filters/LoggingFilter.ts:28
Properties
auth
• Optional
auth: Auth
Inherited from
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/base/BaseAIsFilter.ts:24
serviceProps
• serviceProps: LoggingFilterProps
set in constructor
Inherited from
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/base/BaseAIsFilter.ts:23
Methods
getForward2Service
▸ getForward2Service(): AIsService
Returns
Inherited from
BaseAIsFilter.getForward2Service
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/base/BaseAIsFilter.ts:33
process
▸ process(request
): Promise
<ResponseFinal
>
Let the service do its work.
Alternative names: infer, derive, task, reply, respond, process, ...
Parameters
Name | Type |
---|---|
request | Request |
Returns
Promise
<ResponseFinal
>
Overrides
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/services/filters/LoggingFilter.ts:32