在`format.go`中增加了`FormatConsolePretty`作为新的日志格式选项,并在`CHANGELOG.md`中记录了对`format`中遗漏测试函数的修复。
@@ -15,6 +15,7 @@
- 添加行为准则。
- 完善`README.md`文档。
- 在贡献者指南中把 《Go 编码最佳实际》 列为参考。
+- 修复`format`中遗漏的测试函数。
## [0.10.0] - 2025-04-23
@@ -65,6 +65,7 @@ func _test_func() {
a = FormatMachine
a = FormatFile
a = FormatConsole
+ a = FormatConsolePretty
_ = a
}