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?
Article does not cover Testing part.
In your spec
files you need:
import { LoggerTestingModule } from 'ngx-logger/testing';
and add LoggerTestingModule
to TestBed
imports
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.