Merge commit '6f159b1a167efa12d155213f382cc63e5a320074' 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