X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=fuzz%2Fsrc%2Futils%2Ftest_logger.rs;h=5046869c0a9abe1c92a0ee57d86a3f489081d760;hb=d782df01ba430490e5e7a60e673f7990b237102b;hp=cd037ad8187d8c42895b1a92abd3a37dfe2b5c8f;hpb=0d755456328d68151cdb66a1d8280912de7eb50c;p=rust-lightning diff --git a/fuzz/src/utils/test_logger.rs b/fuzz/src/utils/test_logger.rs index cd037ad8..5046869c 100644 --- a/fuzz/src/utils/test_logger.rs +++ b/fuzz/src/utils/test_logger.rs @@ -1,8 +1,17 @@ +// This file is Copyright its original authors, visible in version control +// history. +// +// This file is licensed under the Apache License, Version 2.0 or the MIT license +// , at your option. +// You may not use this file except in accordance with one or both of these +// licenses. + use lightning::util::logger::{Logger, Record}; use std::sync::{Arc, Mutex}; use std::io::Write; -pub trait Output : Clone + Sync + Send + 'static { +pub trait Output : Clone + 'static { fn locked_write(&self, data: &[u8]); }