Fixed comment for documentations (#194)
This commit is contained in:
parent
19e454b4c7
commit
2e41c37ac4
2
event.go
2
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
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue