func (ce ContainerEvent) GetLogEntry() *logrus.Entry {
	fields := logrus.Fields{}
	for label, value := range ce.Labels {
		fields[label] = value
	}
	return logrus.WithFields(logrus.Fields{
		"image":     ce.Image,
		"digest":    ce.Digest,
		"container": ce.ContainerName,
		"init_pid":  ce.InitPid,
	}).WithFields(fields)
}
// GetLogEntry - Returns the event logrus fields
Returns the event logrus fields
// GetLogEntry - Returns the event logrus fields
func (ce ContainerEvent) GetLogEntry() *logrus.Entry {
	fields := logrus.Fields{}
	for label, value := range ce.Labels {
		fields[label] = value
	}
	return logrus.WithFields(logrus.Fields{
		"image":     ce.Image,
		"digest":    ce.Digest,
		"container": ce.ContainerName,
		"init_pid":  ce.InitPid,
	}).WithFields(fields)
}
func ( ce ContainerEvent ) GetLogEntry ( ) * logrus . Entry { fields := logrus . Fields { } for label , value := range ce . Labels { fields [ label ] = value } return logrus . WithFields ( logrus . Fields { " " : ce . Image , " " : ce . Digest , " " : ce . ContainerName , " " : ce . InitPid , } ) . WithFields ( fields ) }
Returns the event logrus fields
Returns the event logrus fields