gnunet-svn
[Top][All Lists]
Advanced

[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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]