User events

User events can be attached to the report, events are identified by a string and can have an optional dictionary of parameters that will be stored and passed along with the report.

Objective-C

    // Without any additional parameters
    [Bugsee registerEvent:@"payment_processed"];

    // ...our with additional custom parameters
    [Bugsee registerEvent:@"payment_processed"
               withParams:@{
                    @"amount": @125,
                    @"currency": 'USD'
                 }];

Swift

    // Without any additional parameters
    Bugsee.event("payment_processed")

    // ...our with additional custom parameters
    Bugsee.event("payment_processed",
      params:["amount": 125, "currency": "USD"])