Skip to content

Commit 11161e1

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 11161e1

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/lib.rs

-1
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

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ pub use crate::config::{
1414
default_config, AnchorChannelsConfig, EsploraSyncConfig, MaxDustHTLCExposure,
1515
};
1616
pub use crate::graph::{ChannelInfo, ChannelUpdateInfo, NodeAnnouncementInfo, NodeInfo};
17+
pub use crate::logger::{LogLevel, LogRecord, LogWriter};
1718
pub use crate::payment::store::{LSPFeeLimits, PaymentDirection, PaymentKind, PaymentStatus};
1819
pub use crate::payment::{MaxTotalRoutingFeeLimit, QrPaymentResult, SendingParameters};
1920

0 commit comments

Comments
 (0)