[Library] love-rollbar (Rollbar stacktrace/error reporting)
Posted: Sun Jun 07, 2015 12:10 am
This library reports errors in your games to Rollbar, and is intended for use with games you distribute.
Rollbar is non-free, but allows 5,000 events per month at their free tier (and then just stops reporting).
URL: https://github.com/Billiam/love-rollbar
Current version: 0.1.0
Changelog:
[0.1.0] (2015-06-08)
- Report local variables in stacktrace frames. (https://github.com/Billiam/love-rollbar/issues/4)
- Allow library users to send custom data with exceptions(https://github.com/Billiam/love-rollbar/issues/3)
- Allow different log levels, logging of non-stacktrace data. (https://github.com/Billiam/love-rollbar/issues/2)
Status: This is very much in an alpha state.
Compatibility: Unsure. Luajit-request requires newer versions of curl (dlls for windows, see readme), but
I don't know about the support range for mac/linux. Let me know!
Installation: See readme: https://github.com/Billiam/love-rollbar ... /README.md
Rollbar demo: https://rollbar.com/demo/demo/
Usage:
Example Rollbar Output:
Rollbar is non-free, but allows 5,000 events per month at their free tier (and then just stops reporting).
URL: https://github.com/Billiam/love-rollbar
Current version: 0.1.0
Changelog:
[0.1.0] (2015-06-08)
- Report local variables in stacktrace frames. (https://github.com/Billiam/love-rollbar/issues/4)
- Allow library users to send custom data with exceptions(https://github.com/Billiam/love-rollbar/issues/3)
- Allow different log levels, logging of non-stacktrace data. (https://github.com/Billiam/love-rollbar/issues/2)
Status: This is very much in an alpha state.
Compatibility: Unsure. Luajit-request requires newer versions of curl (dlls for windows, see readme), but
I don't know about the support range for mac/linux. Let me know!
Installation: See readme: https://github.com/Billiam/love-rollbar ... /README.md
Rollbar demo: https://rollbar.com/demo/demo/
Usage:
Code: Select all
local Rollbar = require('vendor.love-rollbar')
function love.load()
-- configure Rollbar
Rollbar.access_token = 'your-api-token'
-- optional, but helpful to distinguish between deployed code and testing code
Rollbar.environment = 'development'
-- optional, your game/app's version
Rollbar.app_version = '0.0.0'
end
-- Submit errors to rollbar, and then
-- proceed with the normal LÖVE error behavior
local old_error = love.errhand
function love.errhand(message)
Rollbar.error(message)
old_error(message)
end