Use std::cerr instead of std::cout for any log message.