module Snoop
Snoop
description…
Prior to using it, you must {configure} it.
@example
Snoop.configure do |c| c.project_id = 113743 c.project_key = 'fd04e13d806a90f96614ad8e529b2822' end Snoop.send_event('some event details')
Constants
- Error
The general error that this library uses when it wants to raise.
- LOG_LABEL
returns string representing the label to be prepended to the log output
Public Class Methods
configure() { |config = instance| ... }
click to toggle source
Configures Snoop
.
@example
Snoop.configure do |c| c.project_id = 113743 c.project_key = 'fd04e13d806a90f96614ad8e529b2822' end
# File lib/snoop-rails.rb, line 31 def configure yield config = Snoop::Config.instance end