Reputation: 55
I am implementing ngx-logger in my angular application and I am following this link to implement it.
In this link full logger code is at component level.
Just want to know do I need to implement anything related to logging in my html pages or procedure given in above link is sufficient?
Upvotes: 0
Views: 2278
Reputation: 161
Article does not cover Testing part.
In your spec
files you need:
import { LoggerTestingModule } from 'ngx-logger/testing';
and add LoggerTestingModule
to TestBed
imports
.
Upvotes: 4