Comments (2)
I believe there are recommendations for header include order. The recommended way being: First the most specific header, then library headers, then standard libraries. klog does the exact opposite, which is a common coding style even in other C++ projects.
I can't find the exact Core C++ guideline, but it may be in there. Or maybe it's bad advice. Please let me know. But if it's good advice, put it in the klog coding style I guess?
Here's at least someone's blog post about it: https://blog.knatten.org/2010/07/01/the-order-of-include-directives-matter/
from klog.
There are ~5500 qDebug()
statements in the codebase of which only about 77 are currently active and not commented out.
There are 0 qInfo()
, qWarn()
, qCritical()
and qFatal()
messages. The coding style should mention using other log levels as well where appropriate.
Debugging would be a lot easier if you can just set the log level, get to testing and see other unrelated messages. The log is kind of sparse right now.
qDebug()
/Info()
/etc messages are supposedly not "meant" to be visible to the user and these macros may be disabled in release builds. Should klog have logging enabled even in release builds?
from klog.
Related Issues (20)
- Show stats in info widget for current band/mode
- KLog freezes on start
- Add support for STATE and MY_STATE in the UI
- Option to disable the the war-related message
- Dupe QSO show a SQL error
- Complete ADIF->IsValidPOTA
- Complete ADIF->IsValidWWFF
- Add ADIF fields HOT 2
- Add ADIF INTL fields
- bool DataBase::updateIfNeeded() does not detect the need to Update
- Data loss: Data not managed by the UI may be lost if eddited
- CompleteWithPreviousQSO does not deliver correct data HOT 4
- DX-Cluster 'clear' button does not clear the screen.
- Enhancement: New QSO entry tab design HOT 6
- Bug: double free in MainWindow
- Bug: multiple double frees of DataProxy_SQLite HOT 1
- Frequency number appears in black color HOT 1
- klogdebug.log is empty on program exit
- Darkmode is broken, different behavior in settings dialog with OK/Cancel.
- Qrz.com error 99
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 klog.