Skip to content
This repository has been archived by the owner on Sep 22, 2020. It is now read-only.

Allow user to override #output_strategy and choose array, live, or console_log #3

Merged
merged 1 commit into from Jun 30, 2011

Conversation

jasonm
Copy link
Collaborator

@jasonm jasonm commented Jun 30, 2011

Hello,

For the app I'm working on, I'd like to choose for events to be simply stored in the _kmq array, in addition to the choices of console.log and live delivery.

In this patch, I allow the user to override #output_strategy and choose :array, :live, or :console_log. This change is backwards compatible with existing code that overrides the #use_fake_kissmetrics_api? method, and preserves its behavior.

Let me know your thoughts. Thanks!
-Jason

…nsole_log

This adds the ability to use neither console.log or live delivery, but
elect to just collect KM events in _kmq.

This change is backwards compatible with existing code that overrides
the #use_fake_kissmetrics_api? method and preserves its behavior.
iconara added a commit that referenced this pull request Jun 30, 2011
Allow user to override #output_strategy and choose array, live, or console_log
@iconara iconara merged commit 23c47b6 into iconara:master Jun 30, 2011
@iconara
Copy link
Owner

iconara commented Jun 30, 2011

Looks good, I've merged and pushed up v0.1.8 to RubyGems.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants