The ionic-logging-service encapsulates log4javascript's functionalities for apps built with Ionic framework.
The workspace contains these projects:
The main service. For further info have a look at the service's readme.
Useful commands:
npm run build-service
npm run test-service
npm run compodoc-service
The viewer component. For further info have a look at the component's readme.
Useful commands:
npm run build-viewer
npm run test-viewer
npm run compodoc-viewer
A test app for the ionic-logging-viewer
as well as a sample app for ionic-logging-service
.
Useful commands:
ionic serve --project ionic-logging-viewer-app
E2E tests for ionic-logging-viewer-app
.
Useful commands:
ng e2e --project ionic-logging-viewer-app-e2e
To upgrade the library and then make new Angular version compatible, follow previous pull requests.
Upgrade versions in package.json
files at root level and in projects/ionic-logging-service/package.json
.
Then run rm -rf node_modules package-lock.json && npm install
at root level. Do not run npm install
in projects/ionic-logging-service
directory, otherwise is will cause loop issues during testing.
Also for each upgrade make sure tests are passing, run npm run test-ci
.