Skip to main content

dm_database_sqllog2db/
constants.rs

1//! 公共常量与复用函数
2//! 提供:
3//! - 合法日志级别常量 `LOG_LEVELS`
4//! - 数据库表结构与 SQL 语句模板
5
6/// 合法的日志级别(统一来源)
7pub const LOG_LEVELS: &[&str] = &["trace", "debug", "info", "warn", "error"];