coders-school / desktop-business-app

0 stars 4 forks source link

Introduce logger #74

Closed fbtom closed 6 months ago

fbtom commented 6 months ago

Proposal: Use glog for logging purposes.

To use the library include proper header file.

Example with visible logs: #include <glog/logging.h> obraz

There are 4 types of logs: INFO WARNING ERROR FATAL - terminates the program after logging the message

Additionally: DFATAL - when debug mode it behaves like FATAL, otherwise it logs as ERROR

ziobron commented 6 months ago

Thanks @BaqWin for Code Review. 🏅 1 XP granted

ziobron commented 6 months ago

Your PR was merged! 🏅 2 XP granted. Thanks @fbtom for making course materials better!