Index: system_logging_mock.h |
diff --git a/system_logging_mock.h b/system_logging_mock.h |
index 639fe42571fcc5918d238b17ed33121918995490..f4fb1334349ec02a79faa429fa934d1e466bc2c9 100644 |
--- a/system_logging_mock.h |
+++ b/system_logging_mock.h |
@@ -18,6 +18,8 @@ class SystemLoggingMock : public SystemLogging { |
const std::string &log() { return log_; } |
+ void clear() { log_.clear(); } |
+ |
private: |
static std::string identity_; |
std::string log_; |