简体   繁体   中英

How to implement logger in angular 2 application and send client side logs to server side

I am new in angular 2 application. Developing web application using angular2. I want to add logger in my application.

Kindly suggest best way to implement logger and send logs to server.

If someone bumps into this now, I just saw this great project here : Lumberjack for Angular : https://youtu.be/OV1ONtLAJnI

It looks good so far and has built in Drivers for external services.

https://github.com/ngworker/lumberjack/

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM