In depth dev logs issue

how to configure logs in c++