#include "glog/logging.h"
void InitGoogleLog(char *argv) {
FLAGS_logtostderr = true;
FLAGS_colorlogtostderr = true;
google::InitGoogleLogging(argv);
int main(int argc, char **argv) {
LOG(INFO) << "This is an info log!";
LOG(WARNING) << "This is a warning log!" << std::endl;
LOG(ERROR) << "This is an error log!";