| Index: third_party/libjingle/overrides/talk/base/logging.cc
|
| diff --git a/third_party/libjingle/overrides/talk/base/logging.cc b/third_party/libjingle/overrides/talk/base/logging.cc
|
| index 3e471817d737af6b8be9c392ae7fc4aad88f7db9..8553de863d08da4d915d56aa695797c911bba738 100644
|
| --- a/third_party/libjingle/overrides/talk/base/logging.cc
|
| +++ b/third_party/libjingle/overrides/talk/base/logging.cc
|
| @@ -132,7 +132,6 @@ DiagnosticLogMessage::DiagnosticLogMessage(const char* file,
|
| severity_(severity),
|
| log_to_chrome_(log_to_chrome) {
|
| extra_ = GenerateExtra(err_ctx, err, NULL);
|
| - CreateTimestamp();
|
| }
|
|
|
| DiagnosticLogMessage::DiagnosticLogMessage(const char* file,
|
| @@ -147,7 +146,6 @@ DiagnosticLogMessage::DiagnosticLogMessage(const char* file,
|
| severity_(severity),
|
| log_to_chrome_(log_to_chrome) {
|
| extra_ = GenerateExtra(err_ctx, err, module);
|
| - CreateTimestamp();
|
| }
|
|
|
| DiagnosticLogMessage::~DiagnosticLogMessage() {
|
| @@ -156,22 +154,10 @@ DiagnosticLogMessage::~DiagnosticLogMessage() {
|
| if (log_to_chrome_)
|
| LOG_LAZY_STREAM_DIRECT(file_name_, line_, severity_) << str;
|
| if (g_logging_delegate_function && severity_ <= LS_INFO) {
|
| - print_stream_with_timestamp_ << str;
|
| - g_logging_delegate_function(print_stream_with_timestamp_.str());
|
| + g_logging_delegate_function(str);
|
| }
|
| }
|
|
|
| -void DiagnosticLogMessage::CreateTimestamp() {
|
| -#if !defined(ANDROID)
|
| - static const uint32 g_logging_start_time = talk_base::Time();
|
| - uint32 time = talk_base::TimeSince(g_logging_start_time);
|
| - print_stream_with_timestamp_ << "[" << std::setfill('0')
|
| - << std::setw(3) << (time / 1000)
|
| - << ":" << std::setw(3) << (time % 1000)
|
| - << std::setfill(' ') << "] ";
|
| -#endif
|
| -}
|
| -
|
| // Note: this function is a copy from the overriden libjingle implementation.
|
| void LogMultiline(LoggingSeverity level, const char* label, bool input,
|
| const void* data, size_t len, bool hex_mode,
|
|
|