summaryrefslogtreecommitdiff
path: root/src/mongo/logger/ramlog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/logger/ramlog.h')
-rw-r--r--src/mongo/logger/ramlog.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/logger/ramlog.h b/src/mongo/logger/ramlog.h
index 54901948f74..902471c4563 100644
--- a/src/mongo/logger/ramlog.h
+++ b/src/mongo/logger/ramlog.h
@@ -93,6 +93,11 @@ public:
*/
void write(const std::string& str);
+ /**
+ * Empties out the RamLog.
+ */
+ void clear();
+
/**
* Writes an HTML representation of the log to "s".