X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Futil%2Flogger.rs;fp=src%2Futil%2Flogger.rs;h=b05ab10f3110b3446b4d8d0775b6f356d1314307;hb=3aeec96470cc681bf6bf50baa5ce1b533762c479;hp=720bccf4140d8f7053c7e0e96b1015a2523716b2;hpb=7f6c31ea15ca0042da0dd50f9e0819065eb00757;p=rust-lightning diff --git a/src/util/logger.rs b/src/util/logger.rs index 720bccf4..b05ab10f 100644 --- a/src/util/logger.rs +++ b/src/util/logger.rs @@ -7,9 +7,12 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -/// There is currently 2 ways to filter log messages. First one, by using compilation flag, e.g "max_level_off". -/// The second one, client-side by implementing check against Record Level field, e.g TestLogger in test_utils. -/// Each module may have its own Logger or share one. +//! Log traits live here, which are called throughout the library to provide useful information for +//! debugging purposes. +//! +//! There is currently 2 ways to filter log messages. First one, by using compilation features, e.g "max_level_off". +//! The second one, client-side by implementing check against Record Level field. +//! Each module may have its own Logger or share one. use std::cmp; use std::fmt;