Project was using std::cout to log messages to console. It was time to move to p...
Stéphane Charette 🇨🇦 @charette@mstdn.ca
Project was using std::cout to log messages to console. It was time to move to proper logging.
Happy to have discovered ng-log. Replaced "std::cout" with LOG(INFO) and everything else remains the same. The stream-based approach was important to easily swap out std::cout. E.g.,
LOG(WARNING) << "blah " << counter;