question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Angular 8 File name/line-numbers

See original GitHub issue

Hi i have a problem using Angular 8 and ngx-logger: Typescript classes and line numbers are not shown like in: #69 . My setup: Angular: “8.1.2” ngx-logger: “4.0.3”

I activated “enableSourceMaps: true” in logger config and
"sourceMap": { "scripts": true } in angular.json.

Logging looks like:

2019-07-26T07:55:25.943Z DEBUG [__tryOrUnsub@http:NaN] Logmessage or 2019-07-26T07:55:13.371Z DEBUG [unknown:0] Logmessage

Do you have any ideas why it is not working?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
haakomolcommented, Sep 27, 2019

I also have this problem. In Chrome I get 2019-09-27T08:54:43.561Z DEBUG [./src/app/stacks/stacks-list/stacks-list.component.ts:35] stack-list - init and 2019-09-27T08:54:49.648Z TRACE [./src/app/stacks/stacks-list/stacks-list.component.ts:55] create stack while in Firefox I get 2019-09-27T08:55:10.943Z DEBUG [checkAndUpdateDirectiveInline@http:NaN] stack-list - init and 2019-09-27T08:55:14.356Z TRACE [unknown:0] create stack.

Would appriciate if this worked correctly in Firefox, so I can use Firefox for development. 😃

0reactions
joelthomas7777commented, Oct 31, 2020

Can I get the logger codes?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular File Upload - typescript - Stack Overflow
Here is a working example for file upload to api: Step 1: HTML Template (file-upload.component.html). Define simple input tag of type file ....
Read more >
Workspace and project file structure - Angular
A workspace contains the files for one or more projects. A project is the set of files that comprise a standalone application or...
Read more >
Angular File Upload - Complete Guide
In order to build an Angular file upload component, we need to first understand how to upload files in plain HTML and Javascript...
Read more >
Syncfusion Angular 8 File Manager - FileManager - Syncfusion
How to get started easily with Syncfusion Angular 8 File Manager. The Essential JS 2 Angular_FileManager is a graphical user interface component for ......
Read more >
angular-file - npm
Easy to use Angular directives for user file selections. Latest version: 3.6.0, last published: 2 years ago. Start using angular-file in ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found