Setup building with glog library
Summary:
To use the library in code, do the following.
* Include glog, `include "glog/logging.h"`
* Initialize logging from a main entry point,
`google::InitGoogleLogging(argv[0]);`
* Log anywhere from your code, `LOG(INFO) << "Hello world from glog";`
For advanced use, refer to glog's documentation.
Reviewers: mislav.bradac, florijan, dgleich, buda
Reviewed By: mislav.bradac, buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D492
This commit is contained in:
@@ -47,6 +47,13 @@ cd googletest
|
||||
git checkout ${googletest_tag}
|
||||
cd ..
|
||||
|
||||
# google logging
|
||||
git clone https://github.com/google/glog.git
|
||||
glog_tag="a6a166db069520dbbd653c97c2e5b12e08a8bb26" # v0.3.5
|
||||
cd glog
|
||||
git checkout ${glog_tag}
|
||||
cd ..
|
||||
|
||||
# lcov-to-coberatura-xml
|
||||
git clone https://github.com/eriwen/lcov-to-cobertura-xml.git
|
||||
lcov_to_xml_tag="59584761cb5da4687693faec05bf3e2b74e9dde9" # Dec 6, 2016
|
||||
|
||||
Reference in New Issue
Block a user