Use GLOG_* environment variables even when gflags is installed.
author <shinichiro.hamaji@gmail.com> <>
Wed, 20 Jan 2010 07:39:18 +0000 (07:39 +0000)
committer <shinichiro.hamaji@gmail.com> <>
Wed, 20 Jan 2010 07:39:18 +0000 (07:39 +0000)
commitcb350102153cf25db31903b103ee6bf003cfa7c2
tree305823b86264efe51fe25fc9e36a30e077736cfb
parent327359662c7e320ca0891090647fd57949b9bad1
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
src/base/commandlineflags.h
src/demangle_unittest.cc
src/logging.cc
src/utilities.cc
src/vlog_is_on.cc