Skip to main content

ServiceRunnerParameters

@webda/async • Readme | API


Class: ServiceRunnerParameters

Add the log format to capture

Extends​

Constructors​

new ServiceRunnerParameters(params)​

new ServiceRunnerParameters(params): ServiceRunnerParameters

Parameters​

• params: any

Returns​

ServiceRunnerParameters

Overrides​

RunnerParameters.constructor

Source​

async/src/services/servicerunner.ts:132

Properties​

actions?​

actions?: string[]

Actions managed by the runner

Default​

[]

Inherited from​

RunnerParameters.actions

Source​

async/src/services/runner.ts:11


logFormat?​

logFormat?: string

Define the log format

Default​

ConsoleLoggerDefaultFormat

Source​

async/src/services/servicerunner.ts:124


logSaveDelay?​

logSaveDelay?: number

How long before saving logs (in ms)

Default​

5000

Source​

async/src/services/servicerunner.ts:130


openapi?​

openapi?: OpenAPIWebdaDefinition

OpenAPI override

Schema Ignore​

Inherited from​

RunnerParameters.openapi

Source​

core/lib/services/service.d.ts:103


type​

type: string

Type of the service

Inherited from​

RunnerParameters.type

Source​

core/lib/services/service.d.ts:94


url?​

url?: string

URL on which to serve the content

Inherited from​

RunnerParameters.url

Source​

core/lib/services/service.d.ts:98