Merge commit '8e97373d883c06e1c73791849561d1311c880bc0' as 'libs/loguru'
This commit is contained in:
13
libs/loguru/glog_example/main.cpp
Normal file
13
libs/loguru/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