Remove implicit Record import requirement in logging macros
[rust-lightning] / src / util / macro_logger.rs
index fd9a61b39374a0b9f6d53c8866ede69daaa0261b..19f0294f9c220a52942a48ee48f58238c0fe52ba 100644 (file)
@@ -52,7 +52,7 @@ macro_rules! log_funding_channel_id {
 
 macro_rules! log_internal {
        ($self: ident, $lvl:expr, $($arg:tt)+) => (
-               &$self.logger.log(&Record::new($lvl, format_args!($($arg)+), module_path!(), file!(), line!()));
+               &$self.logger.log(&::util::logger::Record::new($lvl, format_args!($($arg)+), module_path!(), file!(), line!()));
        );
 }