In Angular projects, automatically send logs to the specificized Back-End endpoint.
Logger can be configured to log any combination of HTTP Errors, JavaScript Errors,
as well calls to selected commands (such as console.error()
).
For more details, see README.md for the corresponding library.
See the npm package on npm registry.
- Run
ng build le-ngx-logger --watch
to build the library and watch for changes- If the library is being modified, use the
--watch
option:ng build le-ngx-logger --watch
- If the library is being modified, use the
- Run
ng serve test
for to run the test app - Navigate to
http://localhost:4200/
Run ng build le-ngx-logger
to build the library. The build artifacts will be stored in the dist/
directory.
Then, optionally, run ng build test
to build the tester application