api!: make logging macros private

This commit is contained in:
link2xt
2025-06-15 23:53:41 +00:00
committed by l
parent 07ce319839
commit 545007aca5
57 changed files with 253 additions and 258 deletions

View File

@@ -7,6 +7,7 @@ use async_smtp::{SmtpClient, SmtpTransport};
use tokio::io::{AsyncBufRead, AsyncWrite, BufStream};
use crate::context::Context;
use crate::log::{info, warn};
use crate::login_param::{ConnectionCandidate, ConnectionSecurity};
use crate::net::dns::{lookup_host_with_cache, update_connect_timestamp};
use crate::net::proxy::ProxyConfig;

View File

@@ -6,6 +6,7 @@ use super::Smtp;
use crate::config::Config;
use crate::context::Context;
use crate::events::EventType;
use crate::log::{info, warn};
use crate::tools;
pub type Result<T> = std::result::Result<T, Error>;