Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
diceware-debian
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drebs
diceware-debian
Commits
283704ba
Commit
283704ba
authored
8 years ago
by
ulif
Browse files
Options
Downloads
Patches
Plain Diff
Improve logger configure() doctstring.
Tell at least, what level can be set.
parent
1e5c9af5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
diceware/logger.py
+3
-0
3 additions, 0 deletions
diceware/logger.py
with
3 additions
and
0 deletions
diceware/logger.py
+
3
−
0
View file @
283704ba
...
...
@@ -51,6 +51,9 @@ logger.addHandler(NullHandler())
def
configure
(
verbosity
=
None
):
"""
Configure global duceware logger.
`verbosity` sets the diceware logger verbosity. ``0`` enables info
mode, while all numbes > 2 enable debug mode.
"""
if
verbosity
is
None
:
return
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment