Comments (7)
Logs removed in v1.1.0-dev.c38faf.
Wiki not ready yet.
Please, if someone has some step-by-step on how to debug in some IDE, please make a PR. 😉
from ngx-scanner.
Yes, sure. You're right. Thanks for answer me!
I think it's not a good solution because the logs for console.debug() are still there but hidden. So, maybe it's a best solution if you comment this line for users and uncomment only when you need fix or improve something.
Some applications use loggers and that makes impossible to read logs.
After a few seconds I see this in console:
Anyway, I hope this observation also helps someone else! Thanks for all! :)
from ngx-scanner.
So, I forgot to say, but if anyone has instructions on how to debug a Angular app in any editor and wants to remove that console.debug
, we're accepting PRs in both Wiki and source code for that. 😉
from ngx-scanner.
Sure it is, also, we already have none. 😅
We have just one console.debug
.
What browser are you using? I'm sure if it is Chrome >= 58, you can disable verbose level:
As long as we have the possibility to debug TypeScript code trought VSCode, I do think we can remove the debug method, but I will have to configure at least one environment and document it for future contributors first.
from ngx-scanner.
Hello @odahcam Excellent work with the scanner!
I think like @rastajpa. I'm trying to use it in an important project and it's impossible because of the amount of unnecessary logs. I would appreciate if they deleted, or at least commented on the lines they print on the console. I do not want to be forced to change the scanner module, since this is the best one for angular 4 of the ones I've tested.
Thank you and regards!
from ngx-scanner.
Don't worry! I just didn't knew if I would be able to make this change until v1.1, but please, that's too much log! So I'll remove it at v1.1 anyway.
from ngx-scanner.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from ngx-scanner.
Related Issues (20)
- Property '"autofocusEnabled"' is incompatible with index signature. HOT 2
- Cannot Scan code 93 and Codabar barcodes. No errors in the console as well
- cannot scan UPC_E barcodes
- Cannot read properties of undefined (reading stop)
- [Firefox-android] Permission issue HOT 1
- Please support Angular 17 HOT 1
- Cordova Android app
- Area of intreset feature
- Windows 11, camera shows screen stream instead
- Error reading QR code in Chrome
- when you open a scanner multiple times the CPU usage gets to 100% HOT 3
- Dependency bug
- Add Support for willReadFrequently to Optimize Canvas Readback Performance HOT 2
- ZxingScannerComponent is not releasing all resources - BrowserCodeReader still trying to decode after ngDestroy HOT 3
- ZxingScannerComponen.init method called twice when enable flag is set to true (leak once again) HOT 8
- iPadOS black screen after installation to homescreen, works on safari HOT 4
- Support v0.21.0 zxing library HOT 1
- Upgrade to Angular 18.x HOT 1
- Error al intentar implementar esta libreria en angular 17 HOT 1
- DOMException: setPhotoOptions failed when stoping scanner after upgrade from v17.0.1 to 17.0.2 or above HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-scanner.