From 9b927d489227744fd6ccb1819a136a79c2500a1f Mon Sep 17 00:00:00 2001
From: Xavier Robin <xavier.robin@unibas.ch>
Date: Thu, 3 Oct 2019 10:34:42 +0200
Subject: [PATCH] doc: I can never remember what the numeric levels are.

---
 modules/base/doc/logging.rst | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/modules/base/doc/logging.rst b/modules/base/doc/logging.rst
index df7e24ef7..6b2b4ca3c 100644
--- a/modules/base/doc/logging.rst
+++ b/modules/base/doc/logging.rst
@@ -48,7 +48,21 @@ You can change the verbosity level  with the following two methods:
   Change the verbosity level to the given integer value. All log events which
   have a severity above *verbosity* will not be shown. By default, the log level
   is 2, meaning that errors, warnings and script logging events are visible. By
-  setting it to -1, you can disable all logging.
+  setting it to -1, you can disable all logging. The table below shows the
+  mapping between the verbosity level names and their numeric values:
+
+  ===========   ================
+  Level name    Verbosity value
+  ===========   ================
+  (disabled)    -1
+  Error         0
+  Warning       1
+  Script        2
+  Info          3
+  Verbose       4
+  Debug         5
+  Trace         6
+  ===========   ================
 
   :param verbosity: Desired verbosity level
   :type  verbosity: :class:`int`
-- 
GitLab