func (dnu *DeviceNetnsUpdate) GetLogEntry() *logrus.Entry {
	entry := dnu.Metadata.getEntry()
	entry.WithFields(logrus.Fields{
		"tty": dnu.TTYName,
	})
	return entry.WithFields(logrus.Fields{
		"name":      dnu.DeviceName,
		"old_netns": dnu.Device.Netns,
		"new_netns": dnu.NewNetns,
		"ifindex":   dnu.Device.Ifindex,
	})
}
// GetLogEntry - Returns the event logrus fields
Returns the event logrus fields
// GetLogEntry - Returns the event logrus fields
func (dnu *DeviceNetnsUpdate) GetLogEntry() *logrus.Entry {
	entry := dnu.Metadata.getEntry()
	entry.WithFields(logrus.Fields{
		"tty": dnu.TTYName,
	})
	return entry.WithFields(logrus.Fields{
		"name":      dnu.DeviceName,
		"old_netns": dnu.Device.Netns,
		"new_netns": dnu.NewNetns,
		"ifindex":   dnu.Device.Ifindex,
	})
}
func ( dnu * DeviceNetnsUpdate ) GetLogEntry ( ) * logrus . Entry { entry := dnu . Metadata . getEntry ( ) entry . WithFields ( logrus . Fields { " " : dnu . TTYName , } ) return entry . WithFields ( logrus . Fields { " " : dnu . DeviceName , " " : dnu . Device . Netns , " " : dnu . NewNetns , " " : dnu . Device . Ifindex , } ) }
Returns the event logrus fields
Returns the event logrus fields