code: func (daemon *Daemon) LogNetworkEventWithAttributes(nw libnetwork.Network, action string, attributes map[string]string) {
  	attributes["name"] = nw.Name()
  	attributes["type"] = nw.Type()
  	actor := events.Actor{
  		ID:         nw.ID(),
  		Attributes: attributes,
  	}
  	daemon.EventsService.Log(action, events.NetworkEventType, actor)
  }
docs: // LogNetworkEventWithAttributes generates an event related to a network with specific given attributes.