Fixed comment for documentations (#194)

This commit is contained in:
Veselkov Konstantin 2019-10-24 14:02:36 +04:00 committed by Olivier Poitrey
parent 19e454b4c7
commit 2e41c37ac4
2 changed files with 2 additions and 2 deletions

View File

@ -208,7 +208,7 @@ func (e *Event) Object(key string, obj LogObjectMarshaler) *Event {
return e 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 { func (e *Event) EmbedObject(obj LogObjectMarshaler) *Event {
if e == nil { if e == nil {
return e return e

View File

@ -11,7 +11,7 @@ const (
// serialized as Unix timestamp integers. // serialized as Unix timestamp integers.
TimeFormatUnix = "" 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. // serialized as Unix timestamp integers in milliseconds.
TimeFormatUnixMs = "UNIXMS" TimeFormatUnixMs = "UNIXMS"