// Operation adds the correct Cloud Logging "operation" field.
//
// Additional information about a potentially long-running operation with which
// a log entry is associated.
Operation adds the correct Cloud Logging "operation" field.

Additional information about a potentially long-running operation with which
a log entry is associated.
// Operation adds the correct Cloud Logging " operation " field . // // Additional information about a potentially long - running operation with which // a log entry is associated .
func (e *Event) Operation(id, producer string, first, last bool) *zerolog.Event {
	op := &operation{
		ID:       id,
		Producer: producer,
		First:    first,
		Last:     last,
	}
	return e.Event.Interface("logging.googleapis.com/operation", op)
}
func ( e * Event ) Operation ( id , producer string , first , last bool ) * zerolog . Event { op := & operation { ID : id , Producer : producer , First : first , Last : last , } return e . Event . Interface ( " " , op ) }
Operation adds the correct Cloud Logging "operation" field.
Operation adds the correct Cloud Logging " operation " field .