diff --git a/log/log.go b/log/log.go index d027e383f77d50f2dae232d54d56d4cb3ddb6ef2..e3a9f110bb8be6f7d85a9494a493f7090c3b6aac 100644 --- a/log/log.go +++ b/log/log.go @@ -1,6 +1,7 @@ package log import ( + "maps" "time" "git.perx.ru/perxis/perxis-go/id" @@ -111,6 +112,7 @@ func (e *Entry) ToMap() map[string]any { } if e.ObjectID != nil { res["object_id"] = e.ObjectID.String() + maps.Copy(res, e.ObjectID.ToMap()) } if e.CallerID != nil { res["caller_id"] = e.CallerID.String()