1
0
Fork 0
mirror of https://git.sr.ht/~rjarry/aerc synced 2025-02-22 14:53:57 +01:00
aerc/lib/hooks
Bence Ferdinandy 6079239f34 hooks: add logging for STDOUT and STDERR
Currently the only feedback we have from hooks is the error code. Log
STDOUT on loglevel TRACE and log STDERR on loglevel ERROR if the command
exists with an error.

Signed-off-by: Bence Ferdinandy <bence@ferdinandy.com>
Acked-by: Robin Jarry <robin@jarry.cc>
2024-08-04 18:24:42 +02:00
..
aerc-shutdown.go hooks: add aerc-shutdown 2023-04-01 01:01:09 +02:00
aerc-startup.go hooks: add aerc-startup hook 2023-04-01 01:01:09 +02:00
exec.go hooks: add logging for STDOUT and STDERR 2024-08-04 18:24:42 +02:00
flag-changed.go hooks: add AERC_ACCOUNT_BACKEND to hooks with AERC_ACCOUNT 2024-06-05 08:41:13 +02:00
interface.go config: replace triggers with hooks 2023-04-01 01:01:09 +02:00
mail-added.go hooks: add AERC_ACCOUNT_BACKEND to hooks with AERC_ACCOUNT 2024-06-05 08:41:13 +02:00
mail-deleted.go hooks: add AERC_ACCOUNT_BACKEND to hooks with AERC_ACCOUNT 2024-06-05 08:41:13 +02:00
mail-received.go hooks: add AERC_ACCOUNT_BACKEND to hooks with AERC_ACCOUNT 2024-06-05 08:41:13 +02:00
mail-sent.go hooks: add AERC_ACCOUNT_BACKEND to hooks with AERC_ACCOUNT 2024-06-05 08:41:13 +02:00
tag-modified.go hooks: add AERC_ACCOUNT_BACKEND to hooks with AERC_ACCOUNT 2024-06-05 08:41:13 +02:00