diff options
Diffstat (limited to 'chromium/third_party/libjingle/source/talk/base/logging.cc')
-rw-r--r-- | chromium/third_party/libjingle/source/talk/base/logging.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chromium/third_party/libjingle/source/talk/base/logging.cc b/chromium/third_party/libjingle/source/talk/base/logging.cc index 4c7eae172e7..c1d0a53baaf 100644 --- a/chromium/third_party/libjingle/source/talk/base/logging.cc +++ b/chromium/third_party/libjingle/source/talk/base/logging.cc @@ -349,6 +349,9 @@ void LogMessage::ConfigureLogging(const char* params, const char* filename) { } #endif // WIN32 + LogToDebug(debug_level); + +#if !defined(__native_client__) // No logging to file in NaCl. scoped_ptr<FileStream> stream; if (NO_LOGGING != file_level) { stream.reset(new FileStream); @@ -357,8 +360,8 @@ void LogMessage::ConfigureLogging(const char* params, const char* filename) { } } - LogToDebug(debug_level); LogToStream(stream.release(), file_level); +#endif } int LogMessage::ParseLogSeverity(const std::string& value) { |