Index: base/logging.h |
diff --git a/base/logging.h b/base/logging.h |
index 07674698e0220dbd7d2ab1662556e2853adc275d..b703fc454eb4240b46885a17f0640a22b5ed4e07 100644 |
--- a/base/logging.h |
+++ b/base/logging.h |
@@ -768,6 +768,9 @@ class BASE_EXPORT LogMessage { |
std::ostream& stream() { return stream_; } |
+ LogSeverity severity() { return severity_; } |
+ std::string str() { return stream_.str(); } |
+ |
private: |
void Init(const char* file, int line); |