core-lightning/common/plugin.h
Vincenzo Palazzo ce70167ead core: notify plugins when a log line is emitted.
Currently make a plugin that do reportings of logs on
a services like graphana is not possible. So this commit
include the possibility to write a plugin that do the report
of this analisys.

Changelog-Added: core: notify plugins when a log line is emitted.
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2024-05-17 13:03:12 -05:00

14 lines
381 B
C

#ifndef LIGHTNING_COMMON_PLUGIN_H
#define LIGHTNING_COMMON_PLUGIN_H
#include "config.h"
#include <stdbool.h>
/* is_magic_notification - check if the notification name
* is a special notification and need to be handled in a
* special way. */
bool is_asterix_notification(const char *notification_name,
const char *subscriptions);
#endif /* LIGHTNING_COMMON_PLUGIN_H */