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
|
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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue