Skip to content

provideLumberjackHttpDriver

provideLumberjackHttpDriver<Kind>(configuration, …features): EnvironmentProviders[]

Defined in: packages/ngworker/lumberjack/http-driver/src/lib/configuration/provide-lumberjack-http-driver.ts:80

Returns the dependency-injection providers

for the LumberjackHttpDriver and its LumberjackHttpDriverConfig.

Kind extends LumberjackHttpDriverConfigurationKind

LumberjackHttpDriverConfiguration<Kind>

HttpFeature<HttpFeatureKind>[]

EnvironmentProviders[]

The function is useful when you want to bootstrap an application using the bootstrapApplication function and want to make available the LumberjackHttpDriver providers.

bootstrapApplication(RootComponent, {
  providers: [
   provideLumberjack({...}),
   provideLumberjackHttpDriver({...})
  ]
});