Skip to content
Snippets Groups Projects
Commit d605c937 authored by ko_oler's avatar ko_oler
Browse files

правки в EntryToPB и EntryFromPB

parent 97f17918
No related branches found
No related tags found
No related merge requests found
package log package log
import ( import (
"maps"
"time" "time"
"git.perx.ru/perxis/perxis-go/id" "git.perx.ru/perxis/perxis-go/id"
...@@ -111,6 +112,7 @@ func (e *Entry) ToMap() map[string]any { ...@@ -111,6 +112,7 @@ func (e *Entry) ToMap() map[string]any {
} }
if e.ObjectID != nil { if e.ObjectID != nil {
res["object_id"] = e.ObjectID.String() res["object_id"] = e.ObjectID.String()
maps.Copy(res, e.ObjectID.ToMap())
} }
if e.CallerID != nil { if e.CallerID != nil {
res["caller_id"] = e.CallerID.String() res["caller_id"] = e.CallerID.String()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment