Logo
Explore Help
Sign In
davide/palladum-lightning
1
0
Fork 0
You've already forked palladum-lightning
Code Issues Pull Requests Actions 5 Packages Projects Releases Wiki Activity
Files
2b39fc0cb4e91b8073f5e366412fdca8f73bf569
palladum-lightning/lightningd/log_status.h

12 lines
353 B
C
Raw Normal View History

status: add multiple levels of logging. status_trace maps to status_debug. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-02-05 14:39:27 +10:30
#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. */
lightningd/log: clean up nomenclature. `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>
2023-07-16 15:26:52 +09:30
bool log_status_msg(struct logger *log,
lightningd: have logging include an optional node_id for each entry. A log can have a default node_id, which can be overridden on a per-entry basis. This changes the format of logging, so some tests need rework. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-11-17 22:11:33 +10:30
const struct node_id *node_id,
const u8 *msg);
status: add multiple levels of logging. status_trace maps to status_debug. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-02-05 14:39:27 +10:30
#endif /* LIGHTNING_LIGHTNINGD_LOG_STATUS_H */
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 2400ms Template: 53ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API