当前位置:网站首页>Qlogsystem log system configuration use
Qlogsystem log system configuration use
2022-06-25 14:51:00 【-Ximen blowing snow】
Introduce
QLogSystem Is a very effective and easy to use C ++( Use Qt Framework) Record library for . QLogsystem take Java The style recorder hierarchy is brought to C ++, Very simple API, This can also be used in the library . Using the appropriate logger hierarchy logs can be categorized and filtered at run time . You can configure and change the format of log messages and output respectively . QLogsystem Very fast . Log messages and their parameters are evaluated only when the log level is large enough , So debug messages do not affect performance . QLogsystem It's thread safe , But locking is only done when needed .
The main features :
- Easy to use , Simple API
- Convenient log macros ( Messages with parameters )
- Very fast ( Late parameter evaluation )
- Threadsafe.
- Java Style recorder hierarchy
- Unique log messages ID
stay scripts There are two... In the directory python Script , To ensure that the logs in the project id Is the only one.
logid-generator.py The script recursively traverses a given directory , And check or modify the log messages id.
The root directory must contain version files .
logid-info.py From a given log id Version information can be extracted from ..
Example :
# Generate logs in a given directory id
# notes : Will modify the file !
scripts/logid-generator.py <边栏推荐
- [untitled] the CMD command window displays' NPM 'which is not an internal or external command
- Yolov3 spp Darknet version to caffemodel and then to OM model
- 开餐馆
- [HBZ sharing] use of locksupport
- Time stamp calculation and audio-visual synchronization of TS stream combined video by ffmpeg protocol concat
- 从0到1完全掌握 XSS
- 分饼干问题
- QT opens the print dialog box in a text editor
- Two common ways for orcale to clear table data
- Sequential programming 1
猜你喜欢

To make pytorch faster, you need to master these 17 methods

Clinical chemistry | zhangjianzhong / Xu Jian develop single cell precision diagnosis and treatment technology for Helicobacter pylori

Gif动图如何裁剪?收下这个图片在线裁剪工具
![[try to hack] vulhub shooting range construction](/img/fc/6057b6dec9b51894140453e5422176.png)
[try to hack] vulhub shooting range construction

有哪个瞬间让你觉得这个世界出bug了?

【中国海洋大学】考研初试复试资料分享

From 408 to independent proposition, 211 to postgraduate entrance examination of Guizhou University

弹性布局(display:flex;)属性详解
![[untitled] the CMD command window displays' NPM 'which is not an internal or external command](/img/db/b1ae4b0d1110af1e24887ba3b4fe16.jpg)
[untitled] the CMD command window displays' NPM 'which is not an internal or external command

It's not easy to understand the data consistency of the microservice architecture for the first time after six years as a programmer
随机推荐
Gif动图如何裁剪?收下这个图片在线裁剪工具
Share the code technology points and software usage of socket multi client communication
网上股票开户安不安全?有谁知道呢
JS floating point multiplication and division method can not accurately calculate the problem
Using Sphinx to automatically generate API documents from py source files
还没弄明白微服务数据架构事务管理+ACID+一致性+CAP+BASE理论吗,看完彻底解决疑惑
Uniapp icon configuration
【HBZ分享】LockSupport的使用
HMS core machine learning service realizes simultaneous interpretation, supports Chinese-English translation and multiple voice broadcast
Kubernetes understands kubectl/ debugging
Where is it safe to open an account for buying funds? Ask for guidance
[untitled] the CMD command window displays' NPM 'which is not an internal or external command
全国首例,中国电信 5G 井下人员定位项目正式商用:可实时跟踪位置,保障作业安全
关于win10 版本kicad 卡死的问题, 版本6.x
电源自动测试系统NSAT-8000,精准高速可靠的电源测试设备
How to cut the size of a moving picture? Try this online photo cropping tool
If multiple signals point to the same slot function, you want to know which signal is triggered.
Gif动画怎么在线制作?快试试这款gif在线制作工具
Customization and encapsulation of go language zap library logger
NBD Network Block Device