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.

Constant Console Logs

See original GitHub issue

I’m getting constant console logs in both my application, and on the demo site listed in your documentation. Would it be possible to have a verbose mode configuration parameter of some sort to turn these off?

true Error
    at t.selectBestPatterns (FinderPatternFinder.ts:595)
    at t.find (FinderPatternFinder.ts:181)
    at t.detect (Detector.ts:84)
    at t.decode (QRCodeReader.ts:75)
    at e.t.readerDecode (BrowserCodeReader.ts:278)
    at e.t.decodeOnce (BrowserCodeReader.ts:254)

BrowserCodeReader.ts:259 not found, trying again...

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
odahcamcommented, Aug 17, 2018

Sorry, I forgot to refer; dupe of #74.

1reaction
michael-pearsoncommented, Aug 17, 2018

I’ve actually decided to use a different library now (I was also having trouble with stopping and starting the capture where it would just stop scanning for codes but that was probably a fault on my part), and I can’t remember the version that I installed. It would have been the newest version available on NPM at the point that I made the post above. However, as I mentioned, it is also doing that on the demo page provided in the docs, https://zxing-js.github.io/library/examples/qr-camera/.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Handy Tips on Using console.log()
1. Naming logged variables · 2. Advanced formatting · 3. Log with style · 4. Interactive logs. 4.1 Objects; 4.2 Arrays; 4.3 DOM...
Read more >
"const" variable not defined when used with "console.log"
My question is, why is "const x" undefined when used with "console.log", but it is defined when used on its own?
Read more >
console.log() - Web APIs - MDN Web Docs
The console.log() method outputs a message to the web console. The message may be a single string (with optional substitution values), ...
Read more >
JavaScript Console.log() Example – How to Print to the ...
Logging messages to the console is a very basic way to diagnose and troubleshoot minor issues in your code.
Read more >
Consistent Console Logs in Angular | by Jared Youtsey | ngconf
When you have to log, do it consistently. Logging is necessary. It allows us to debug in both development and production. But console...
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