mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-18 12:34:21 +01:00
libplugin: expose plugin_logv.
If you have your own logging infra, you'll want this. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -372,6 +372,7 @@ struct plugin_timer *plugin_timer_(struct plugin *p,
|
||||
|
||||
/* Log something */
|
||||
void plugin_log(struct plugin *p, enum log_level l, const char *fmt, ...) PRINTF_FMT(3, 4);
|
||||
void plugin_logv(struct plugin *p, enum log_level l, const char *fmt, va_list ap);
|
||||
|
||||
/* Notify the caller of something. */
|
||||
struct json_stream *plugin_notify_start(struct command *cmd, const char *method);
|
||||
|
||||
Reference in New Issue
Block a user