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.
Type Parameters
Section titled “Type Parameters”Kind extends LumberjackHttpDriverConfigurationKind
Parameters
Section titled “Parameters”configuration
Section titled “configuration”LumberjackHttpDriverConfiguration<Kind>
features
Section titled “features”…HttpFeature<HttpFeatureKind>[]
Returns
Section titled “Returns”EnvironmentProviders[]
Usage Notes
Section titled “Usage Notes”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({...})
]
});