mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
common: allow subdaemons to specify the node_id in status messages.
This is ignored in subdaemons which are per-peer, but very useful for multi-peer daemons like connectd and gossipd. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -28,7 +28,9 @@
|
||||
|
||||
static bool verbose = false;
|
||||
|
||||
void status_fmt(enum log_level level, const char *fmt, ...)
|
||||
void status_fmt(enum log_level level,
|
||||
const struct node_id *node_id,
|
||||
const char *fmt, ...)
|
||||
{
|
||||
if (verbose) {
|
||||
va_list ap;
|
||||
|
||||
Reference in New Issue
Block a user