log/修改 Field;

This commit is contained in:
2023-04-12 15:07:11 +08:00
parent d12ff23ff9
commit 8748299a96
4 changed files with 25 additions and 10 deletions

View File

@@ -84,6 +84,6 @@ type Entry struct {
Time string `json:"time,omitempty"`
Caller *runtimehelper.Frame `json:"caller,omitempty"`
Stack []runtimehelper.Frame `json:"stack,omitempty"`
Fields []logsdk.Field `json:"fields,omitempty"`
Fields []logsdk.KV `json:"fields,omitempty"`
Level logsdk.Level `json:"level"`
}