[−][src]Function newrelic_sys::newrelic_custom_event_add_attribute_string
pub unsafe extern "C" fn newrelic_custom_event_add_attribute_string(
event: *mut newrelic_custom_event_t,
key: *const c_char,
value: *const c_char
) -> bool
@brief Adds a string key/value pair to the custom event's attributes
Given a custom event, this function adds a char* (string) attribute to the event.
@param [in] event A valid custom event, @see newrelic_create_custom_event(). @param [in] key the string key for the key/value pair @param [in] value the string value of the key/value pair
@return false indicates the attribute could not be added