Skip to content

Commit 9b2fddb

Browse files
committed
Don't expose LogLevel etc at crate level
Now that we made the `logger` module `pub`, we can drop the type exports at crate level
1 parent 44c4df4 commit 9b2fddb

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ use types::{
144144
pub use types::{ChannelDetails, CustomTlvRecord, PeerDetails, UserChannelId};
145145

146146
use logger::{log_error, log_info, log_trace, LdkLogger, Logger};
147-
pub use logger::{LogLevel, LogRecord, LogWriter};
148147

149148
use lightning::chain::BestBlock;
150149
use lightning::events::bump_transaction::Wallet as LdkWallet;

src/uniffi_types.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ pub use crate::config::{
1616
pub use crate::graph::{ChannelInfo, ChannelUpdateInfo, NodeAnnouncementInfo, NodeInfo};
1717
pub use crate::payment::store::{LSPFeeLimits, PaymentDirection, PaymentKind, PaymentStatus};
1818
pub use crate::payment::{MaxTotalRoutingFeeLimit, QrPaymentResult, SendingParameters};
19+
pub use crate::logger::{LogLevel, LogRecord, LogWriter};
1920

2021
pub use lightning::chain::channelmonitor::BalanceSource;
2122
pub use lightning::events::{ClosureReason, PaymentFailureReason};

0 commit comments

Comments
 (0)