Closed fbtom closed 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>
#include <glog/logging.h>
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
Thanks @BaqWin for Code Review. 🏅 1 XP granted
Your PR was merged! 🏅 2 XP granted. Thanks @fbtom for making course materials better!
Proposal: Use glog for logging purposes.
To use the library include proper header file.
Example with visible logs:
#include <glog/logging.h>
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