mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
c074fe050f
`struct log` becomes `struct logger`, and the member which points to the `struct log_book` becomes `->log_book` not `->lr`. Also, we don't need to keep the log_book in struct plugin, since it has access to ld's log_book. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
12 lines
353 B
C
12 lines
353 B
C
#ifndef LIGHTNING_LIGHTNINGD_LOG_STATUS_H
|
|
#define LIGHTNING_LIGHTNINGD_LOG_STATUS_H
|
|
#include "config.h"
|
|
#include <lightningd/log.h>
|
|
|
|
/* Returns true (and writes it to log) if it's a status_log message. */
|
|
bool log_status_msg(struct logger *log,
|
|
const struct node_id *node_id,
|
|
const u8 *msg);
|
|
|
|
#endif /* LIGHTNING_LIGHTNINGD_LOG_STATUS_H */
|