diff options
Diffstat (limited to 'base/metrics')
-rw-r--r-- | base/metrics/histogram.cc | 12 | ||||
-rw-r--r-- | base/metrics/stats_table.cc | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/base/metrics/histogram.cc b/base/metrics/histogram.cc index 7077b09..484d095 100644 --- a/base/metrics/histogram.cc +++ b/base/metrics/histogram.cc @@ -268,7 +268,7 @@ bool Histogram::DeserializeHistogramInfo(const std::string& histogram_info) { !pickle.ReadInt(&iter, &histogram_type) || !pickle.ReadInt(&iter, &pickle_flags) || !sample.Histogram::SampleSet::Deserialize(&iter, pickle)) { - DLOG(ERROR) << "Pickle error decoding Histogram: " << histogram_name; + LOG(ERROR) << "Pickle error decoding Histogram: " << histogram_name; return false; } DCHECK(pickle_flags & kIPCSerializationSourceFlag); @@ -276,7 +276,7 @@ bool Histogram::DeserializeHistogramInfo(const std::string& histogram_info) { // checks above and beyond those in Histogram::Initialize() if (declared_max <= 0 || declared_min <= 0 || declared_max < declared_min || INT_MAX / sizeof(Count) <= bucket_count || bucket_count < 2) { - DLOG(ERROR) << "Values error decoding Histogram: " << histogram_name; + LOG(ERROR) << "Values error decoding Histogram: " << histogram_name; return false; } @@ -295,8 +295,8 @@ bool Histogram::DeserializeHistogramInfo(const std::string& histogram_info) { } else if (histogram_type == BOOLEAN_HISTOGRAM) { render_histogram = BooleanHistogram::FactoryGet(histogram_name, flags); } else { - DLOG(ERROR) << "Error Deserializing Histogram Unknown histogram_type: " - << histogram_type; + LOG(ERROR) << "Error Deserializing Histogram Unknown histogram_type: " + << histogram_type; return false; } @@ -433,7 +433,7 @@ Histogram::~Histogram() { if (StatisticsRecorder::dump_on_exit()) { std::string output; WriteAscii(true, "\n", &output); - DLOG(INFO) << output; + LOG(INFO) << output; } // Just to make sure most derived class did this properly... @@ -1025,7 +1025,7 @@ StatisticsRecorder::~StatisticsRecorder() { if (dump_on_exit_) { std::string output; WriteGraph("", &output); - DLOG(INFO) << output; + LOG(INFO) << output; } // Clean up. HistogramMap* histograms = NULL; diff --git a/base/metrics/stats_table.cc b/base/metrics/stats_table.cc index 2bccc90..3db008e 100644 --- a/base/metrics/stats_table.cc +++ b/base/metrics/stats_table.cc @@ -265,7 +265,7 @@ StatsTable::StatsTable(const std::string& name, int max_threads, impl_ = Private::New(name, table_size, max_threads, max_counters); if (!impl_) - DPLOG(ERROR) << "StatsTable did not initialize"; + PLOG(ERROR) << "StatsTable did not initialize"; } StatsTable::~StatsTable() { |