From 0c5781b7c52a1b6c031258786f1e9c3320c9c611 Mon Sep 17 00:00:00 2001
From: Moritz Perschke <moritz.perschke@uibk.ac.at>
Date: Mon, 24 Oct 2022 12:30:30 +0200
Subject: [PATCH] added logging to caching lib

---
 client/client/lib/caching/src/ram_caching.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/client/client/lib/caching/src/ram_caching.cpp b/client/client/lib/caching/src/ram_caching.cpp
index 62b2807..08d30ee 100644
--- a/client/client/lib/caching/src/ram_caching.cpp
+++ b/client/client/lib/caching/src/ram_caching.cpp
@@ -22,6 +22,7 @@ namespace RtcMemory{
                 jsonString,
                 sizeof(jsonString)
         );
+        ESP_LOGI(TAG, "Moved message to storage.");
     }
 
     String get_from_storage(){
@@ -39,6 +40,7 @@ namespace RtcMemory{
         // move tail to next element
         tailElement = (tailElement + 1) % maxLength_;
         Serial.println(buf);
+        ESP_LOGI(TAG, "Retrieved message from storage");
         return buf;
     }
 }
-- 
GitLab