2
0
forked from Ivasoft/DSView

update: 'libsigrok4DSL' project used new log lib

This commit is contained in:
dreamsourcelabTAI
2022-07-12 17:26:01 +08:00
parent a496f11ec1
commit b0bd52e7c2
38 changed files with 203 additions and 478 deletions

View File

@@ -139,7 +139,11 @@ int main(int argc, char *argv[])
}
//----------------------init log
dsv_log_init();
dsv_log_init();
if (bStoreLog && logLevel < XLOG_LEVEL_DBG){
logLevel = XLOG_LEVEL_DBG;
}
if (logLevel != -1){
dsv_log_level(logLevel);
@@ -191,7 +195,7 @@ bool bHighScale = true;
//----------------------run
dsv_info("----------------- version: %s-----------------", DS_VERSION_STRING);
dsv_info("Qt:%s", QT_VERSION_STR);
dsv_dbg("Qt:%s", QT_VERSION_STR);
AppControl *control = AppControl::Instance();
AppConfig::Instance().LoadAll(); //load app config