Ruby Library for sending LogSnag events.
Add this line to your application's Gemfile:
gem "logsnag"Firstly you'll need to set an API Token.
@logsnag = LogSnag::Client.new(token: "")@logsnag.log(project: "my-project", channel: "channel", event: "my-event")@logsnag.insight(project: "my-project", title: "Title of Insight", value: "the-value")Available Options:
- description
- icon - Single emoji for the event icon
- notify - if this event should send a notification
Bug reports and pull requests are welcome on GitHub at https://github.com/deanpcmad/logsnag.
The gem is available as open source under the terms of the MIT License.