//! Log matcher compilation: YAML → [`CompiledMatcher`], and runtime execution
//! engine.
//!
//! The compilation entry point is [`compile_matchers`].
//! The runtime entry point is [`MatcherEngine`].

mod compiler;
pub mod engine;
mod registry;
mod message;
mod schema;
mod types;

pub use compiler::{CompileOptions, CompileResult, compile_matchers};
pub use engine::{CaptureMap, MatcherEngine};
pub use registry::MatcherRegistry;
pub use message::{AnnotatedRef, Message, MessageLevel, Reference, has_errors};
pub use schema::LogMatcherDef;
pub use types::{
    BodyRule, CompiledMatcher, EmitSeverity, EmitTemplate, EndCondition, MatcherId,
};
