diff options
author | Armin Ronacher <armin.ronacher@active-4.com> | 2016-10-18 16:08:06 +0200 |
---|---|---|
committer | Armin Ronacher <armin.ronacher@active-4.com> | 2016-10-18 16:08:06 +0200 |
commit | cef503fa2fd69fd0b0f47ba8f2921e8b5ce53fd9 (patch) | |
tree | 556f9cccf23aa7999e95843d92c3877995d56b66 | |
parent | 5dbaf82060268e2cee702fc0fc0b9fed8607bdd3 (diff) | |
download | raven-cef503fa2fd69fd0b0f47ba8f2921e8b5ce53fd9.tar.gz |
Added docs for new breadcrumbs feature
-rw-r--r-- | docs/breadcrumbs.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/breadcrumbs.rst b/docs/breadcrumbs.rst index 71ab5b1..ceb4016 100644 --- a/docs/breadcrumbs.rst +++ b/docs/breadcrumbs.rst @@ -65,6 +65,12 @@ the :py:func:`~raven.breadcrumbs.ignore_logger` and Typically it makes sense to invoke :py:func:`~raven.breadcrumbs.record` from it. +.. py:function:: raven.breadcrumbs.register_logging_handler(callback) + + This is similar to :func:`~raven.breadcrumbs.register_special_log_handler` + but it adds a global callback that is invoked for all log entries. + Otherwise it works the same but multiple handlers can be registered. + Manually Emitting Breadcrumbs ----------------------------- |