glog
Frank-Lee
ITer
展开
-
window环境下glog的安装
下载后解压,利用Visual Studio打开google-glog.sln。生成解决方案安装:方法一:将libglog.dll和libglog.lib文件,拷贝文件到你的工程文件夹下,并拷贝src\windows\下的glog目录到你的工程文件下。方法二:你也可以将这两个文件拷贝到系统文件夹下,实现全局访问。1. 将libglog.dll拷贝到C:\Program Files原创 2013-06-07 15:13:31 · 5025 阅读 · 0 评论 -
glog Notes for Windows users
Google glog defines a severity level ERROR, which is also defined in windows.h . You can make glog not define INFO, WARNING, ERROR, and FATAL by definingGLOG_NO_ABBREVIATED_SEVERITIES before includi转载 2013-06-07 16:16:03 · 727 阅读 · 0 评论 -
glog多线程下按照指定条件创建新的日志文件
#define NOGDI #include #include #include #include "glog/logging.h"#pragma comment(lib,"libglog.lib") using namespace std; using namespace google;DWORD WINAPI TH(PVOID lp);void init()原创 2013-06-07 19:41:43 · 4972 阅读 · 0 评论