summaryrefslogtreecommitdiffstats
path: root/base/logging.cc
diff options
context:
space:
mode:
authorevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-15 01:04:11 +0000
committerevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-15 01:04:11 +0000
commit4c0040c49331c5cb5b88960ecec04ce8a5f0756a (patch)
treeeb20f932e07a7c3fcb5bf144cba675d48ca791af /base/logging.cc
parent1b3deed79fc638d3755ba5159108712238d8beb7 (diff)
downloadchromium_src-4c0040c49331c5cb5b88960ecec04ce8a5f0756a.zip
chromium_src-4c0040c49331c5cb5b88960ecec04ce8a5f0756a.tar.gz
chromium_src-4c0040c49331c5cb5b88960ecec04ce8a5f0756a.tar.bz2
To pass string_util_unittest, we need the ICU data file. To get the ICU data file, we need some of PathService, which brings along with it a bunch of other needed functions. So here are a bunch of stubs, along with another file's worth of passing tests. (Based on a patch from Dean.)
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@921 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/logging.cc')
-rw-r--r--base/logging.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/logging.cc b/base/logging.cc
index 1e20dd0..87ac934 100644
--- a/base/logging.cc
+++ b/base/logging.cc
@@ -74,7 +74,11 @@ const char* const log_severity_names[LOG_NUM_SEVERITIES] = {
int min_log_level = 0;
LogLockingState lock_log_file = LOCK_LOG_FILE;
+#if defined(OS_WIN)
LoggingDestination logging_destination = LOG_ONLY_TO_FILE;
+#elif defined(OS_POSIX)
+LoggingDestination logging_destination = LOG_TO_BOTH_FILE_AND_SYSTEM_DEBUG_LOG;
+#endif
const int kMaxFilteredLogLevel = LOG_WARNING;
std::string* log_filter_prefix;