mirror of
https://gitee.com/rulego/streamsql.git
synced 2026-07-30 23:56:52 +00:00
feat(B5): logger 加结构化日志能力——Field 类型+构造器、StructuredLogger 接口、Text/JSON 双格式,纯增量不改现有 printf 接口
This commit is contained in:
@@ -77,6 +77,7 @@ type Logger interface {
|
||||
// defaultLogger is the default log implementation
|
||||
type defaultLogger struct {
|
||||
level Level
|
||||
format Format
|
||||
logger *log.Logger
|
||||
}
|
||||
|
||||
|
500 Internal Server Error
Gitea Version: 1.28.0+dev-211-ga30d865b78 | ||||