i am tryng to implement the GLOG lib in my project, but i am only getting console outputs, and i cannot allow to create the file log with the severity asociated, here is my code: i am developing for linux (ubuntu)
#include <glog/logging.h>
int main(int argc, char *argv[])
{
google::SetLogDestination(0,"/home/ricardo/Desktop/CODIGO/info.log");
google::SetLogDestination(google::WARNING,"");
FLAGS_logtostderr = 1;
google::InitGoogleLogging("log_test");
LOG(INFO) << "Found " << 2332 << " cookies";
return 0;
}
any help?? thx in advance!