Skip to content

Commit

Permalink
Add documentation for logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mschoengens committed Oct 24, 2018
1 parent 405e84d commit 22afd83
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/source/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -398,5 +398,14 @@ or compute posterior probability of each of the models given the observed datase
:dedent: 4


Logging
~~~~~~~

Sometimes, when running inference schemes it is desired to have a more verbose
logging output. This can be achieved by using Python's standard logger and
setting it to info mode at the beginning of the file.

.. literalinclude:: ../../examples/extensions/models/gaussian_python/pmcabc_gaussian_model_simple.py
:language: python
:lines: 1, 8
:dedent: 0

0 comments on commit 22afd83

Please sign in to comment.