]> git.bitcoin.ninja Git - rust-lightning/commit
Logging interface
authorAntoine Riard <ariard@student.42.fr>
Wed, 25 Jul 2018 02:34:51 +0000 (02:34 +0000)
committerAntoine Riard <ariard@student.42.fr>
Fri, 17 Aug 2018 00:01:15 +0000 (00:01 +0000)
commit0029f04fce6beba29e60b2c227d51bcf1ba15545
treed8a407d5a24b5e23178f23a22f1d27afa6e1c634
parent587f2b39fc30400ecadcb4145eeac4c896d5f51c
Logging interface

Implement error, warn, info, debug and trace macros, internally calling
an instance of Logger, and passing it to every main structures
Build-time or client-side filtering.
Issue #54
16 files changed:
Cargo.toml
fuzz/fuzz_targets/channel_target.rs
fuzz/fuzz_targets/full_stack_target.rs
fuzz/fuzz_targets/router_target.rs
fuzz/fuzz_targets/utils/mod.rs [new file with mode: 0644]
fuzz/fuzz_targets/utils/test_logger.rs [new file with mode: 0644]
src/chain/chaininterface.rs
src/lib.rs
src/ln/channel.rs
src/ln/channelmanager.rs
src/ln/peer_handler.rs
src/ln/router.rs
src/util/logger.rs [new file with mode: 0644]
src/util/macro_logger.rs [new file with mode: 0644]
src/util/mod.rs
src/util/test_utils.rs