How to use the @dagonmetric/ng-log/console.ConsoleLoggerModule.withOptions function in @dagonmetric/ng-log

To help you get started, we’ve selected a few @dagonmetric/ng-log examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github myanmartools / Myanmar-Tools / src / app / app.module.ts View on Github external
MatCardModule,
        MatIconModule,

        // ng-config modules
        ConfigModule.init(),
        StaticConfigLoaderModule.withSettings(appSettings),

        // ng-cache modules
        CacheModule,
        MemoryCacheModule,

        // ng-log modules
        LogModule.withConfig({
            minLevel: environment.production ? 'warn' : 'trace'
        }),
        ConsoleLoggerModule.withOptions({
            enableDebug: !environment.production
        }),
    ],
    providers: [
        {
            provide: APP_BASE_HREF,
            useFactory: baseHrefFactory,
            deps: [DOCUMENT]
        },
        LinkService,
        UrlHelper,
        {
            provide: MatIconRegistry,
            useClass: CustomIconRegistry
        },
        appSvgIconProviders

@dagonmetric/ng-log

Vendor-agnostic logging, analytics and telemetry service abstractions and some implementations for Angular applications.

MIT
Latest version published 4 years ago

Package Health Score

49 / 100
Full package analysis