summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-10-09 11:05:08 +0100
committerCarl Hetherington <cth@carlh.net>2015-10-09 13:45:10 +0100
commit3c86edba7f02de3a65c7a58937f11429050b3e10 (patch)
tree220cf0719e648054ecc1ff9e1d39c1bd05ede2a0 /src/lib
parent5397b80ebe200293aa19b439d2273a1cf24dbf52 (diff)
Comment.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/log.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/log.h b/src/lib/log.h
index 3efed667b..2acef6601 100644
--- a/src/lib/log.h
+++ b/src/lib/log.h
@@ -52,6 +52,9 @@ public:
void set_types (int types);
+ /** @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: