Skip to content

Commit

Permalink
Update docs/source/developers/emitting-events.md
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Bates <kbates4@gmail.com>
  • Loading branch information
Zsailer and kevin-bates committed Oct 12, 2023
1 parent 59b618e commit f13af30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/developers/emitting-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Once the event schema is registered, it is ready to be emitted. Note that the co
While you can (technically) create your own instance of an EventLogger from your extension, users/operators will likely only collect events from the instance created by Jupyter Server's `ServerApp`. If you would to provide your own instance, be sure to clearly document how to configure your extension to collect your events.
:::

As an example, you can emit an event from custom request handler by calling `self.event_logger.emit(...)`:
As an example, you can emit an event from a custom request handler by calling `self.event_logger.emit(...)`:

```python
from jupyter_server.base.handlers import JupyterHandler
Expand Down

0 comments on commit f13af30

Please sign in to comment.