mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
lightning/peer_control: set logging level for peers to match global.
That way it's controlled by --log-level= Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -83,6 +83,7 @@ void PRINTF_FMT(4,5) log_struct_(struct log *log, int level,
|
||||
const char *structname,
|
||||
const char *fmt, ...);
|
||||
|
||||
enum log_level get_log_level(struct log_book *lr);
|
||||
void set_log_level(struct log_book *lr, enum log_level level);
|
||||
void set_log_prefix(struct log *log, const char *prefix);
|
||||
const char *log_prefix(const struct log *log);
|
||||
|
||||
Reference in New Issue
Block a user