Raven-as3 is a Flash/AS3 client for Sentry.
// Instantiate a new client with a compatible DSN
var client : RavenClient = new RavenClient('http://public:secret@example.com/1', '1.0', 'production');
// Capture a message
client.captureMessage('my log message');
// Capture an exception
try
{
throw new Error("an error");
}
catch(e : Error)
{
client.captureException(e);
}
To install the source code:
$ git clone git://github.com/skitoo/raven-as3.git
Include it in your class path.