Skip to content

Commit e28a6d3

Browse files
committed
add note to readme
1 parent 47713e1 commit e28a6d3

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

README.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,16 @@ sorts it by the ``X`` dimension:
7474
log = pipeline.log
7575
7676
Pass ``timing=True`` when creating a pipeline to include PDAL timing
77-
information in ``pipeline.log`` after execution.
77+
information in ``pipeline.log`` after execution:
78+
79+
.. code-block:: python
80+
81+
import logging
82+
import pdal
83+
84+
pipeline = pdal.Pipeline(json, loglevel=logging.DEBUG, timing=True)
85+
count = pipeline.execute()
86+
timing_log = pipeline.log
7887
7988
Programmatic Pipeline Construction
8089
................................................................................

0 commit comments

Comments
 (0)