darekf77 / ng2-logger

Isomorphic logger for Browser and NodeJS, ( typescript / javascript ) apps
MIT License
61 stars 17 forks source link

log source #15

Open chadjougit opened 7 years ago

chadjougit commented 7 years ago

logs

Hi, I'm just interesting, how I can get the same functionality as in "console.log", where I can get link to a code line where the log is calling? (ex: componentname.component.ts:175). By ng2-logger I get link only to "display.ts". Sorry for a dumb question, but I can't get it.

darekf77 commented 7 years ago

I think chrome and console.log are somehow integrated... I will look after this interesting idea when I will have more time...

chadjougit commented 7 years ago

tnx for a quick answer : ) it's a really nice repo

4nandP commented 7 years ago

Does this help? https://github.com/angular/angular/issues/5458#issuecomment-232188780

somq commented 6 years ago

@darekf77 @chadjougit @4nandP Any update or solution on the line number issue ?

darekf77 commented 6 years ago

I 've been trying to implement this but without success... for now