From cb350102153cf25db31903b103ee6bf003cfa7c2 Mon Sep 17 00:00:00 2001 From: Date: Wed, 20 Jan 2010 07:39:18 +0000 Subject: Use GLOG_* environment variables even when gflags is installed. Define GLOG_DEFINE_*, which checks if the GLOG_* environment variable is defined. If defined, GLOG_DEFINE_* passes the value and otherwise, it passes the original default value. In this way, GLOG_DEFINE_* macro uses the value specified by gflags first, then GLOG_* environment variables, and finally it uses the default value if neither of them are specified. git-svn-id: https://google-glog.googlecode.com/svn/trunk@76 eb4d4688-79bd-11dd-afb4-1d65580434c0 --- doc/glog.html | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc') diff --git a/doc/glog.html b/doc/glog.html index c9816e0..9fe2e1f 100644 --- a/doc/glog.html +++ b/doc/glog.html @@ -116,6 +116,13 @@ environment variables, prefixing the flag name with "GLOG_", e.g. GLOG_logtostderr=1 ./your_application + +

The following flags are most commonly used:

-- cgit v1.2.3