diff --git a/event.go b/event.go index c1c946b..9ae7c89 100644 --- a/event.go +++ b/event.go @@ -208,7 +208,7 @@ func (e *Event) Object(key string, obj LogObjectMarshaler) *Event { return e } -// Object marshals an object that implement the LogObjectMarshaler interface. +// EmbedObject marshals an object that implement the LogObjectMarshaler interface. func (e *Event) EmbedObject(obj LogObjectMarshaler) *Event { if e == nil { return e diff --git a/globals.go b/globals.go index 674ad07..58fc6fb 100644 --- a/globals.go +++ b/globals.go @@ -11,7 +11,7 @@ const ( // serialized as Unix timestamp integers. TimeFormatUnix = "" - // TimeFormatUnix defines a time format that makes time fields to be + // TimeFormatUnixMs defines a time format that makes time fields to be // serialized as Unix timestamp integers in milliseconds. TimeFormatUnixMs = "UNIXMS"