provideLumberjack
provideLumberjack(
options?):Provider[]
Defined in: packages/ngworker/lumberjack/src/lib/configuration/provide-lumberjack.ts:53
Returns the dependency-injection providers
for the LumberjackOptions, LumberjackConfig and LumberjackLogDriverConfig.
Parameters
Section titled “Parameters”options?
Section titled “options?”Partial<LumberjackConfig<void>>
Returns
Section titled “Returns”Provider[]
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 Lumberjack providers.
bootstrapApplication(RootComponent, {
providers: [
provideLumberjack({...})
]
});