Skip to content

Commit

Permalink
Fix "disable logging" section of docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bcb committed Jun 12, 2018
1 parent 204e804 commit 28dbcda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Configuration

.. automodule:: jsonrpcclient.config

To disable the package's logging:
To disable the package's logging::

import logging
logging.getLogger("jsonrpcclient.client.request").setLevel(logging.WARNING)
Expand Down

0 comments on commit 28dbcda

Please sign in to comment.