mod core;
mod encoding;
mod error;
mod formats;
#[cfg(any(feature = "jdbc", feature = "dm-provider"))]
mod unified;
pub use encoding::FileEncodingHint;
pub use error::ParseError;
#[cfg(any(feature = "jdbc", feature = "dm-provider"))]
pub use unified::{
LogEvent, LogFormatKind, LogIterator, LogParser, LogParserBuilder, parse_bytes,
parse_bytes_with_encoding, parse_line,
};
pub mod advanced {
pub use crate::core::{
LogFormat, LogIterator, LogParser, LogParserBuilder, LogRecord, RecordFraming,
};
}
#[cfg(feature = "dm-provider")]
pub use formats::dm_provider::DmProviderEvent;
#[cfg(feature = "jdbc")]
pub use formats::jdbc::DriverLogEvent as JdbcEvent;