Skip to content

Commit

Permalink
add equivalent code example as suggested
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Aug 17, 2020
1 parent 1901f80 commit f04aff5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/source/faq/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,12 @@ which would produce debug (as well as info, warning, and error) messages, or at
yt.set_log_level("error")
This is the same as doing:

.. code-block:: python
yt.set_log_level(40)
which in this case would suppress everything below error messages. For reference,
the numerical values corresponding to different log levels are:

Expand Down

0 comments on commit f04aff5

Please sign in to comment.