Intelligent ML assistant for KDE
Note
Make sure to clone the repository with the --recursive flag to get all the submodules.
git clone --recursive https://github.com/Amaan1234567/KoolIntelligenceSee CI/CD pipeline to understand how the CI/CD pipeline works.
See Coding Guidelines to understand the coding guidelines.
Logs are print statements that we use. We do not use print statements. Only logs are allowed. This is so that we can easily turn off logs when we are done debugging and only have certain logs depending on the severity. This helps in debugging and also in the performance of the application.
There are 5 levels of logs:
- DEBUG
- INFO
- WARNING
- ERROR
- CRITICAL
The levels are in increasing order of severity. So, if we set the log level to INFO, then all logs of level INFO and above will be printed. If we set the log level to WARNING, then all logs of level WARNING and above will be printed. And so on.
To set the log level, when configuring cmake, use the appropriate flag. For example, to set the log level to INFO, use the following flag:
cmake -DLOG_LEVEL_INFO=ON -B build
similarly, for other log levels the flags are:
-
DEBUG: -DLOG_LEVEL_DEBUG=ON
-
INFO: -DLOG_LEVEL_INFO=ON
-
WARNING: -DLOG_LEVEL_WARNING=ON
-
ERROR: -DLOG_LEVEL_ERROR=ON
-
CRITICAL: -DLOG_LEVEL_CRITICAL=ON