improve awtk_main.inc

This commit is contained in:
xianjimli 2020-03-12 17:43:41 +08:00
parent 80e2f98af8
commit f09aa990c6

View File

@ -176,7 +176,11 @@ int main(int argc, char* argv[]) {
tk_ext_widgets_init();
#endif /*WITHOUT_EXT_WIDGETS*/
#ifdef NDEBUG
log_set_log_level(LOG_LEVEL_INFO);
#else
log_set_log_level(LOG_LEVEL_DEBUG);
#endif/*NDEBUG*/
log_info("Build at: %s %s\n", __DATE__, __TIME__);
#ifdef ENABLE_CURSOR