require "logging"
require "jam_ruby"
require "bugsnag"
require "jam_websockets/version"
require "jam_websockets/session_error"
require "jam_websockets/permission_error"
require "jam_websockets/client_context"
require "jam_websockets/message"
require "jam_websockets/router"
require "jam_websockets/server"

include JamRuby
module JamWebsockets
  # Your code goes here...
end


Bugsnag.configure do |config|

  jamenv = ENV['JAMENV']
  jamenv ||= 'development'

  config.api_key = "dda9d182cf46789e495d8d1fa9a5669b"
  config.use_ssl = false
  config.notify_release_stages = ["production"]
  config.release_stage = jamenv
  config.auto_notify = true
  config.app_version = JamWebsockets::VERSION
end
