systemd-python: allow retrieval of single fields

This can give huge efficiency gains, e.g. if only MESSAGE
is required and all other fields can be ignored.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2013-03-20 23:01:32 -04:00
parent 5e8ba1a460
commit 811de196b3
4 changed files with 103 additions and 20 deletions

View File

@@ -23,6 +23,9 @@ Accessing the Journal
.. automethod:: __init__
.. autofunction:: _get_catalog
.. autofunction:: get_catalog
.. autoclass:: Monotonic
.. autoattribute:: systemd.journal.DEFAULT_CONVERTERS