Squashed 'libs/loguru/' content from commit 644f60d
git-subtree-dir: libs/loguru git-subtree-split: 644f60dca77de3b0f718a03d370c8ebdf5f97968
This commit is contained in:
13
glog_example/main.cpp
Normal file
13
glog_example/main.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include <iostream>
|
||||
#include "glog_example.hpp"
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
FLAGS_alsologtostderr = true;
|
||||
FLAGS_colorlogtostderr = true;
|
||||
google::ParseCommandLineFlags(&argc, &argv, true);
|
||||
google::InitGoogleLogging(argv[0]);
|
||||
LOG(INFO) << "Hello from main.cpp!";
|
||||
complex_calculation();
|
||||
LOG(INFO) << "main function about to end!";
|
||||
}
|
||||
Reference in New Issue
Block a user