We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I use glog 0.3.4 and my test code is :
#include <iostream> #include <chrono> #include <thread> #include <string.h> #include <stdio.h> #include <glog/logging.h> int main(int argc, char** argv) { google::ParseCommandLineFlags(&argc, &argv, true); google::InitGoogleLogging(argv[0]); std::cout << FLAGS_minloglevel << std::endl; LOG(INFO) << "GLOG"; LOG(WARNING) << "GLOG"; LOG(ERROR) << "GLOG"; }
Then I run
g++ -I /usr/local/include/ -L /usr/local/lib/ -lglog -lgflags test.cpp && ./a.out -minloglevel=1 g++ -I /usr/local/include/ -L /usr/local/lib/ -lglog -lgflags test.cpp && ./a.out -minloglevel=2 g++ -I /usr/local/include/ -L /usr/local/lib/ -lglog -lgflags test.cpp && ./a.out -minloglevel=3
But only ERROR log is printted in those three tests.
The text was updated successfully, but these errors were encountered:
I see the --logtostderr or --alsologtostderr can solve this issue
Sorry, something went wrong.
No branches or pull requests
I use glog 0.3.4 and my test code is :
Then I run
But only ERROR log is printted in those three tests.
The text was updated successfully, but these errors were encountered: