feat: 添加 env_logger 基础日志系统

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-31 13:41:06 +08:00
parent ec4aae37d9
commit 955396a74d
5 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ fn now_string() -> String {
}
fn is_leap_year(y: u64) -> bool {
(y % 4 == 0 && y % 100 != 0) || (y % 400 == 0)
(y.is_multiple_of(4) && !y.is_multiple_of(100)) || y.is_multiple_of(400)
}
#[cfg(test)]