lsa: improved printing and logging

refs: #4354

Change-Id: I27cc99c6d01ba22668f4f56ad57b6f34f24f8af2
diff --git a/tests/mocks/lsa.cpp b/tests/mocks/lsa.cpp
index 3ab6689..d9548a0 100644
--- a/tests/mocks/lsa.cpp
+++ b/tests/mocks/lsa.cpp
@@ -47,5 +47,10 @@
   return true;
 }
 
+void
+MockLsa::writeLog() const
+{
+}
+
 } // namespace test
 } // namespace nlsr
diff --git a/tests/mocks/lsa.hpp b/tests/mocks/lsa.hpp
index 0ce6e3a..5011ab4 100644
--- a/tests/mocks/lsa.hpp
+++ b/tests/mocks/lsa.hpp
@@ -43,6 +43,9 @@
 
   bool
   deserialize(const std::string& content) override;
+
+  void
+  writeLog() const override;
 };
 
 } // namespace test