mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +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:
@@ -38,7 +38,7 @@ static void adjust_io_write(struct json_out *jout,
|
||||
|
||||
struct json_stream *new_json_stream(const tal_t *ctx,
|
||||
struct command *writer,
|
||||
struct log *log)
|
||||
struct logger *log)
|
||||
{
|
||||
struct json_stream *js = tal(ctx, struct json_stream);
|
||||
|
||||
@@ -73,7 +73,7 @@ const char *json_stream_detach_filter(const tal_t *ctx, struct json_stream *js)
|
||||
|
||||
struct json_stream *json_stream_dup(const tal_t *ctx,
|
||||
struct json_stream *original,
|
||||
struct log *log)
|
||||
struct logger *log)
|
||||
{
|
||||
struct json_stream *js = tal_dup(ctx, struct json_stream, original);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user