projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #2102 from douglaz/node_info_addresses
[rust-lightning]
/
lightning
/
src
/
util
/
logger.rs
diff --git
a/lightning/src/util/logger.rs
b/lightning/src/util/logger.rs
index 546650da3bb75cb44f847e6e0e3f1b5015c4fd93..154e26cdf454bb8d4ff513156c5e4efee7b544a1 100644
(file)
--- a/
lightning/src/util/logger.rs
+++ b/
lightning/src/util/logger.rs
@@
-20,7
+20,7
@@
use core::cmp;
use core::fmt;
#[cfg(c_bindings)]
use core::fmt;
#[cfg(c_bindings)]
-use prelude::*; // Needed for String
+use
crate::
prelude::*; // Needed for String
static LOG_LEVEL_NAMES: [&'static str; 6] = ["GOSSIP", "TRACE", "DEBUG", "INFO", "WARN", "ERROR"];
static LOG_LEVEL_NAMES: [&'static str; 6] = ["GOSSIP", "TRACE", "DEBUG", "INFO", "WARN", "ERROR"];
@@
-168,9
+168,9
@@
impl<'a> core::fmt::Display for DebugBytes<'a> {
#[cfg(test)]
mod tests {
#[cfg(test)]
mod tests {
- use util::logger::{Logger, Level};
- use util::test_utils::TestLogger;
- use sync::Arc;
+ use
crate::
util::logger::{Logger, Level};
+ use
crate::
util::test_utils::TestLogger;
+ use
crate::
sync::Arc;
#[test]
fn test_level_show() {
#[test]
fn test_level_show() {