diff options
author | Thien-Thi Nguyen <ttn@gnuvola.org> | 2022-02-10 18:46:01 -0500 |
---|---|---|
committer | Thien-Thi Nguyen <ttn@gnuvola.org> | 2022-02-10 18:46:01 -0500 |
commit | 31c967a553ea5a9eac9b8c1147f0d3bb2b7d098f (patch) | |
tree | 24d41201ee42d938b548132743f14a03d8e6f365 /doc | |
parent | c28684f7a64b647e37083822b5750dc00f8ee2e6 (diff) | |
download | taler-util-31c967a553ea5a9eac9b8c1147f0d3bb2b7d098f.tar.gz taler-util-31c967a553ea5a9eac9b8c1147f0d3bb2b7d098f.tar.bz2 taler-util-31c967a553ea5a9eac9b8c1147f0d3bb2b7d098f.zip |
touch up ‘GnunetLogger’ section
- revamp "import" line, plus references
- include output of ‘l.log’ line in example block
Diffstat (limited to 'doc')
-rw-r--r-- | doc/doc.org | 5 |
1 files 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 |