[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-util] 03/07: touch up ‘GnunetLogger’ section
From: |
gnunet |
Subject: |
[taler-taler-util] 03/07: touch up ‘GnunetLogger’ section |
Date: |
Fri, 11 Feb 2022 01:45:25 +0100 |
This is an automated email from the git hooks/post-receive script.
ttn pushed a commit to branch master
in repository taler-util.
commit 31c967a553ea5a9eac9b8c1147f0d3bb2b7d098f
Author: Thien-Thi Nguyen <ttn@gnuvola.org>
AuthorDate: Thu Feb 10 18:46:01 2022 -0500
touch up ‘GnunetLogger’ section
- revamp "import" line, plus references
- include output of ‘l.log’ line in example block
---
doc/doc.org | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/doc/doc.org b/doc/doc.org
index c1fc52e..0a42073 100644
--- a/doc/doc.org
+++ b/doc/doc.org
@@ -253,8 +253,8 @@ then the expansion might be:
The =GnunetLogger= constructor takes one argument, =component=.
-: >>> from taler.util import gnunet_log
-: >>> l = gnunet_log.GnunetLogger ("ui")
+: >>> from taler.util.gnunet_log import GnunetLogger
+: >>> l = GnunetLogger ("ui")
*** method =log=
@@ -263,3 +263,4 @@ and =message_loglevel= (a property of the =GnunetLogger=
class with
the same name as the string log level).
: >>> l.log ("user clicked button", l.INFO)
+: INFO:ui:user clicked button
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-taler-util] branch master updated (35bc3d7 -> 262b998), gnunet, 2022/02/10
- [taler-taler-util] 02/07: change markup for Amount ctor args, properties from / to =, gnunet, 2022/02/10
- [taler-taler-util] 04/07: include "+ fraction" in subheading, gnunet, 2022/02/10
- [taler-taler-util] 03/07: touch up ‘GnunetLogger’ section,
gnunet <=
- [taler-taler-util] 01/07: touch up ‘Amount’, ‘SignedAmount’ section, gnunet, 2022/02/10
- [taler-taler-util] 05/07: add vertical space to example blocks, gnunet, 2022/02/10
- [taler-taler-util] 06/07: add documentation for payto.py, gnunet, 2022/02/10
- [taler-taler-util] 07/07: regenerate doc.{html,txt}, gnunet, 2022/02/10