Add module and all-pub-things docs and deny missing docs
[rust-lightning] / src / util / logger.rs
index 720bccf4140d8f7053c7e0e96b1015a2523716b2..b05ab10f3110b3446b4d8d0775b6f356d1314307 100644 (file)
@@ -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;