summaryrefslogtreecommitdiffstats
path: root/logd/LogBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'logd/LogBuffer.h')
-rw-r--r--logd/LogBuffer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/logd/LogBuffer.h b/logd/LogBuffer.h
index ff9692e05..932d55f9a 100644
--- a/logd/LogBuffer.h
+++ b/logd/LogBuffer.h
@@ -99,10 +99,15 @@ class LogBuffer {
bool monotonic;
+ LogBufferElement* lastLoggedElements[LOG_ID_MAX];
+ LogBufferElement* droppedElements[LOG_ID_MAX];
+ void log(LogBufferElement* elem);
+
public:
LastLogTimes &mTimes;
explicit LogBuffer(LastLogTimes *times);
+ ~LogBuffer();
void init();
bool isMonotonic() { return monotonic; }