+ /** @param amount Approximate number of bytes to return; the returned value
+ * may be shorter or longer than this.
+ */
+ virtual std::string head_and_tail (int amount = 1024) const = 0;
+
+protected:
+
+ /** mutex to protect the log */
+ mutable boost::mutex _mutex;