log.cpp 232 B

1234567891011121314151617
  1. // cotire example project
  2. #include "log.h"
  3. #include <iostream>
  4. namespace logging {
  5. void error(const std::string& msg) {
  6. std::cerr << msg << std::endl;
  7. }
  8. void info(const std::string& msg) {
  9. std::cout << msg << std::endl;
  10. }
  11. }