Add version and TLV suffix for more user-facing "major" structs
[rust-lightning] / lightning / src / util / logger.rs
index acd6d323e8f319e9b3c84550ab099d2258f486cb..df2b7f704051958a1e8ddc63523108061c8cfb08 100644 (file)
@@ -14,8 +14,8 @@
 //! 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;
+use core::cmp;
+use core::fmt;
 
 static LOG_LEVEL_NAMES: [&'static str; 6] = ["OFF", "ERROR", "WARN", "INFO", "DEBUG", "TRACE"];
 
@@ -117,7 +117,7 @@ impl<'a> Record<'a> {
 }
 
 /// A trait encapsulating the operations required of a logger
-pub trait Logger: Sync + Send {
+pub trait Logger {
        /// Logs the `Record`
        fn log(&self, record: &Record);
 }