From df8c57f328b350edee4fd59fb4a4b72ed2df1b23 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 16 Oct 2017 14:37:31 +0200 Subject: [doc] Introductory text on what the logging ring buffer is about Change-Id: I876cd31e03a53ca90e658e353c0c8a839dece8ad --- src/loggingrb.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/loggingrb.c') diff --git a/src/loggingrb.c b/src/loggingrb.c index b7d8d1fe..d3dd2543 100644 --- a/src/loggingrb.c +++ b/src/loggingrb.c @@ -22,6 +22,13 @@ /*! \addtogroup loggingrb * @{ + * This adds a log which consist of an in-memory ring buffer. The idea + * is that the user can configure his logging in a way that critical + * messages get stored in the ring buffer, and that the last few + * critical messages can then always obtained by dumping the ring + * buffer. It can hence be used as a more generic version of the + * "show me the last N alarms" functionality. + * * \file loggingrb.c */ #include -- cgit v1.2.3