projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove Key parameter from ChainMonitor
[rust-lightning]
/
lightning
/
src
/
util
/
logger.rs
diff --git
a/lightning/src/util/logger.rs
b/lightning/src/util/logger.rs
index 6d42fbf01c64c45a8259ce59d3308f0ab5ec2f6d..acd6d323e8f319e9b3c84550ab099d2258f486cb 100644
(file)
--- a/
lightning/src/util/logger.rs
+++ b/
lightning/src/util/logger.rs
@@
-86,6
+86,7
@@
impl Level {
/// A Record, unit of logging output with Metadata to enable filtering
/// Module_path, file, line to inform on log's source
/// A Record, unit of logging output with Metadata to enable filtering
/// Module_path, file, line to inform on log's source
+/// (C-not exported) - we convert to a const char* instead
#[derive(Clone,Debug)]
pub struct Record<'a> {
/// The verbosity level of the message.
#[derive(Clone,Debug)]
pub struct Record<'a> {
/// The verbosity level of the message.
@@
-102,6
+103,7
@@
pub struct Record<'a> {
impl<'a> Record<'a> {
/// Returns a new Record.
impl<'a> Record<'a> {
/// Returns a new Record.
+ /// (C-not exported) as fmt can't be used in C
#[inline]
pub fn new(level: Level, args: fmt::Arguments<'a>, module_path: &'a str, file: &'a str, line: u32) -> Record<'a> {
Record {
#[inline]
pub fn new(level: Level, args: fmt::Arguments<'a>, module_path: &'a str, file: &'a str, line: u32) -> Record<'a> {
Record {