]> git.bitcoin.ninja Git - rust-lightning/commit
Use wrapper to add context to logging
authorhenghonglee <henghong.lee@gmail.com>
Wed, 6 Sep 2023 02:37:54 +0000 (10:37 +0800)
committerJeffrey Czyz <jkczyz@gmail.com>
Fri, 1 Dec 2023 17:53:55 +0000 (11:53 -0600)
commitdf3ab2ee2753e7f9ec02ddf1c8a51db77c50e35d
tree230c0841f3610c2972aaa4f1589573e30da86ba5
parenta727ccab9412430810e719018b3fc83a408e5791
Use wrapper to add context to logging

Using a decorator pattern, add peer_id and channel_id to Record
stored on Logger.
lightning/src/chain/chainmonitor.rs
lightning/src/chain/channelmonitor.rs
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/peer_handler.rs