forked from google/glog
-
Notifications
You must be signed in to change notification settings - Fork 0
C++ implementation of the Google logging module
License
art1524/glog
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This repository contains a C++ implementation of the Google logging module. Documentation for the implementation is in doc/. See INSTALL for (generic) installation instructions for C++: basically ./autogen.sh && ./configure && make && make install channel:https://codeyarns.com/2017/10/26/how-to-install-and-use-glog/ 测试环境ubuntu 16.04: 1 install lib: sudo apt install libgoogle-glog-devy 2 modify file path: GLOG_log_dir=/some/path 3 example: #include <glog/logging.h> int main(int argc, char* argv[]) { google::InitGoogleLogging(argv[0]); LOG(INFO) << "This is an info message"; LOG(WARNING) << "This is a warning message"; LOG(ERROR) << "This is an error message"; LOG(FATAL) << "This is a fatal message"; return 0; }
About
C++ implementation of the Google logging module
Resources
License
Contributing
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- C++ 52.2%
- Shell 35.7%
- M4 3.9%
- CMake 3.3%
- C 2.7%
- Makefile 1.6%
- Python 0.6%