Re: [AngularJS] Re: Angular 7 Logging Service

2019-01-07 Thread Suresh Kumar
Thanks for your suggestion. Regards,] Suresh On Mon, Jan 7, 2019 at 7:44 PM Tito wrote: > It is not really angular 7 logging service. I think most accurate > description is angular 7 that makes use logging service api > > Pretty much any version of angular can consume any service. But that said

Re: [AngularJS] Re: Angular 7 Logging Service

2019-01-07 Thread Scott Logsdon
The code I posted was for AngularJS. Note that the title for this thread is misleading. [AngularJS] Angular 7 Logging Service AngularJS and Angular are 2 different animals. On Mon, Jan 7, 2019 at 2:11 PM Scott Logsdon wrote: > Suresh, > > You could use a service similar to the following whic

Re: [AngularJS] Re: Angular 7 Logging Service

2019-01-07 Thread Scott Logsdon
Suresh, You could use a service similar to the following which will report client side stack trace. export default angular > .module('app.services.exceptionOverride', []) > .factory('$exceptionHandler', function($injector) { > return function(exception, cause) { > var errUrl = "your

Re: [AngularJS] Re: Angular 7 Logging Service

2019-01-07 Thread Tito
It is not really angular 7 logging service. I think most accurate description is angular 7 that makes use logging service api Pretty much any version of angular can consume any service. But that said, if you want a logging service it is just a matter of implementing it on you actual rest api se

Re: [AngularJS] Re: Angular 7 Logging Service

2019-01-06 Thread dh ouij
Hello, I think this is an interesting Topic:Angular 7 Logging Service. I used an api service and in backend part we use a spring boot application for security side(with jwt(json web token)) I think the best way is to use REST API and test for the angular part. Le dim. 6 janv. 2019 à 15:01, Suresh

Re: [AngularJS] Re: Angular 7 Logging Service

2019-01-06 Thread Suresh Kumar
Hi Scott, I thank you for your response. We call some API / Restful Web Service calls from our Angular Project. How and where do we find these exceptions related to API / Restful web service calls from our Angular Project?. How do Operation team know what kind of exceptions the API/Restful Web se

Re: [AngularJS] Re: Angular 7 Logging Service

2019-01-05 Thread Tito
Agreed. Not from angular but the service feeding the fe -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com.

Re: [AngularJS] Re: Angular 7 Logging Service

2019-01-05 Thread Scott Logsdon
Angular is a front-end UI framework. Why would anyone want to use it for a logger service? The backend should do the logging. The front end should be lightweight. Leave the heavy lifting to the back end. On Sat, Jan 5, 2019, 6:55 PM Tito Did winston work for you? > > -- > You received this messag

[AngularJS] Re: Angular 7 Logging Service

2019-01-05 Thread Tito
Did winston work for you? -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send e

[AngularJS] Re: Angular 7 Logging Service

2019-01-04 Thread Tito
You could try to leverage https://www.npmjs.com/package/winston On Friday, January 4, 2019 at 3:12:56 AM UTC-8, Suresh Kumar wrote: > > Hi Team, > > Can you please provide your useful information regarding Logger > Implementation on Angular (Tomcat Server)? > > Waiting for your response. > > >

[AngularJS] Re: Angular 7 Logging Service

2019-01-04 Thread Sander Elias
Hi Suresh, Can you explain what you mean? You angular app runs on the client's computer and has no access to server-side API's Of course, you can extend the errorHandler to sends the results to a server. I'm not sure Tomcat provides an api to handle t

[AngularJS] Re: Angular 7 Logging Service

2019-01-04 Thread Suresh Kumar
Hi Team, Can you please provide your useful information regarding Logger Implementation on Angular (Tomcat Server)? Waiting for your response. Thanks Suresh On Fri, Jan 4, 2019 at 11:40 AM Suresh Kumar wrote: > Hi Team, > > Good Morning. > > I have deployed Angular Application on Tomcat Ser