log4qt(支持qt5.7.0兼容vs2013).zip

时间:2022-09-22 13:23:40
【文件属性】:
文件名称:log4qt(支持qt5.7.0兼容vs2013).zip
文件大小:164KB
文件格式:ZIP
更新时间:2022-09-22 13:23:40
其他资源 软件介绍: log4qt修正版本支持qt5.7.0,兼容vs2013编译器能输出为dll。使用方式:1.编译库文件,打开liblog4qt.pro文件并编译;2.在工程中引入liblog4qt.pri;3.在需要输出log的头文件中增加logger声明,包含两部分:2.1.引入logger.h头文件;2.2.在类声明中加入LOG4QT_DECLARE_QCLASS_LOGGER宏;4.在代码中调用输出,logger()->debug("test");5.引入后默认使用程序所在目录下的log4qt.properties配置文件初始化6.配置文件格式参见log4qt.properties
【文件预览】:
log4qt.properties
liblog4qt.pri
log4qt
----basicconfigurator.h(2KB)
----simplelayout.cpp(2KB)
----hierarchy.cpp(5KB)
----ttcclayout.h(7KB)
----logger.h(63KB)
----ttcclayout.cpp(5KB)
----level.h(6KB)
----appender.h(4KB)
----fileappender.cpp(9KB)
----log4qt.h(26KB)
----propertyconfigurator.cpp(22KB)
----basicconfigurator.cpp(3KB)
----ndc.h(3KB)
----mdc.cpp(3KB)
----level.cpp(6KB)
----loggerrepository.cpp(2KB)
----hierarchy.h(5KB)
----rollingfileappender.cpp(5KB)
----log4qt.cpp(2KB)
----propertyconfigurator.h(7KB)
----ndc.cpp(4KB)
----rollingfileappender.h(5KB)
----dailyrollingfileappender.cpp(12KB)
----log4qt_init.cpp(421B)
----writerappender.cpp(7KB)
----loggingevent.h(7KB)
----logmanager.h(12KB)
----mdc.h(3KB)
----patternlayout.cpp(4KB)
----logmanager.cpp(16KB)
----varia()
--------levelrangefilter.cpp(3KB)
--------nullappender.h(3KB)
--------levelrangefilter.h(4KB)
--------stringmatchfilter.cpp(3KB)
--------listappender.h(5KB)
--------listappender.cpp(4KB)
--------debugappender.cpp(4KB)
--------denyallfilter.h(3KB)
--------debugappender.h(4KB)
--------stringmatchfilter.h(4KB)
--------levelmatchfilter.h(4KB)
--------levelmatchfilter.cpp(3KB)
--------nullappender.cpp(3KB)
--------denyallfilter.cpp(2KB)
----spi()
--------filter.h(3KB)
--------filter.cpp(2KB)
----consoleappender.cpp(6KB)
----dailyrollingfileappender.h(7KB)
----appenderskeleton.h(7KB)
----fileappender.h(7KB)
----appenderskeleton.cpp(7KB)
----layout.cpp(2KB)
----writerappender.h(6KB)
----layout.h(4KB)
----simplelayout.h(3KB)
----patternlayout.h(5KB)
----logger.cpp(9KB)
----Log4Qt.pri(4KB)
----consoleappender.h(5KB)
----custom.h(428B)
----helpers()
--------classlogger.cpp(3KB)
--------patternformatter.h(7KB)
--------logobject.cpp(2KB)
--------logobjectptr.h(5KB)
--------classlogger.h(3KB)
--------configuratorhelper.h(7KB)
--------patternformatter.cpp(26KB)
--------datetime.h(7KB)
--------logerror.cpp(9KB)
--------optionconverter.cpp(10KB)
--------logobject.h(6KB)
--------configuratorhelper.cpp(4KB)
--------logerror.h(17KB)
--------datetime.cpp(9KB)
--------initialisationhelper.h(18KB)
--------properties.h(5KB)
--------factory.cpp(16KB)
--------factory.h(17KB)
--------optionconverter.h(5KB)
--------logobjectptr.cpp(2KB)
--------properties.cpp(10KB)
--------initialisationhelper.cpp(5KB)
----loggerrepository.h(4KB)
----loggingevent.cpp(7KB)
log4qt_readme.txt
libLog4Qt.pro

网友评论