From 67d0804a3825fc46b9577fdce1e0e19385f8f55b Mon Sep 17 00:00:00 2001 From: "@zimeg" Date: Tue, 10 Dec 2024 18:59:21 -0800 Subject: [PATCH] docs: reference the application logger from listener arguments --- docs/content/reference.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/content/reference.md b/docs/content/reference.md index 25bc14fc7..02558f0b0 100644 --- a/docs/content/reference.md +++ b/docs/content/reference.md @@ -48,6 +48,7 @@ Listener functions have access to a set of arguments that may change based on th | `respond` | `action`, `shortcut`, `view`, `command` | Function that responds to an incoming event **if** it contains a `response_url`. `respond` returns a promise that resolves with the results of responding using the `response_url`. For shortcuts, `respond` will **only** work for message shortcuts (not global shortcuts). For views, `respond` will **only** work when using `response_url_enabled: true` for [conversations list](https://api.slack.com/reference/block-kit/block-elements#conversation_select) and [channels list](https://api.slack.com/reference/block-kit/block-elements#channel_select) select menus in input blocks in modals. | | `context` | All listeners | Event context. This object contains data about the event and the app, such as the `botId`. Middleware can add additional context before the event is passed to listeners. | | `body` | All listeners | Object that contains the entire body of the request (superset of `payload`). Some accessory data is only available outside of the payload (such as `trigger_id` and `authorizations`). | +| `logger` | All listeners | The application logger with all of [the logging functions](/concepts/logging) for output. | #### Body and payload references The structure of the `payload` and `body` is detailed on the API site: