ngx-rocket / generator-ngx-rocket

:rocket: Extensible Angular 14+ enterprise-grade project generator
https://ngx-rocket.github.io/
MIT License
1.53k stars 216 forks source link

Add server-side logging support #409

Open rpmansion opened 6 years ago

rpmansion commented 6 years ago

I'm submitting a...

Current behavior

Currently logging can only achieved by going to browser developer console.

Expected behavior

It would be great if this logging can integrate server side logging by default as some user is used Angular and AspNet Core. This can be achieved using JSNLog.

Minimal reproduction of the problem with instructions

Environment

- generator version: 5.3.0
- node version: 9.5.0
- npm version: 5.6.0
- OS:  Windows 10 Pro x64

Others: Link for JSNLOG: http://www.jsnlog.com/Documentation/HowTo/Angular2Logging

bursauxa commented 6 years ago

While it is an interesting topic, it is very much specific to only one server technology. I am unsure whether this would exceed the scope of ngx-rocket. Any thoughts @sinedied ?

sinedied commented 6 years ago

Indeed, specific solutions like these could/should be implement by userland add-ons, especially as the current provided logger can be extended easily with other outputs, see https://github.com/ngx-rocket/generator-ngx-rocket/issues/154