mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-06 15:44:21 +01:00
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>
This commit is contained in:
@@ -134,10 +134,10 @@ struct lightningd {
|
||||
/* Where each configuration setting came from */
|
||||
struct configvar **configvars;
|
||||
|
||||
/* This log_book is owned by all the struct logs */
|
||||
/* This log_book is owned by all the struct loggers */
|
||||
struct log_book *log_book;
|
||||
/* Log for general stuff. */
|
||||
struct log *log;
|
||||
struct logger *log;
|
||||
const char **logfiles;
|
||||
|
||||
/* This is us. */
|
||||
|
||||
Reference in New Issue
Block a user