Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
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
schwede
openstructure
Commits
9b927d48
Commit
9b927d48
authored
5 years ago
by
Xavier Robin
Browse files
Options
Downloads
Patches
Plain Diff
doc: I can never remember what the numeric levels are.
parent
aef8a660
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
modules/base/doc/logging.rst
+15
-1
15 additions, 1 deletion
modules/base/doc/logging.rst
with
15 additions
and
1 deletion
modules/base/doc/logging.rst
+
15
−
1
View file @
9b927d48
...
...
@@ -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`
...
...
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