{"action":"opened","issue":{"url":"https://api.github.com/repos/jarednorman/bugsnag-elixir/issues/27","repository_url":"https://api.github.com/repos/jarednorman/bugsnag-elixir","labels_url":"https://api.github.com/repos/jarednorman/bugsnag-elixir/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/jarednorman/bugsnag-elixir/issues/27/comments","events_url":"https://api.github.com/repos/jarednorman/bugsnag-elixir/issues/27/events","html_url":"https://github.com/jarednorman/bugsnag-elixir/issues/27","id":172941748,"number":27,"title":"How to use the Bugsnag.Logger?","user":{"login":"vorce","id":983376,"avatar_url":"https://avatars.githubusercontent.com/u/983376?v=3","gravatar_id":"","url":"https://api.github.com/users/vorce","html_url":"https://github.com/vorce","followers_url":"https://api.github.com/users/vorce/followers","following_url":"https://api.github.com/users/vorce/following{/other_user}","gists_url":"https://api.github.com/users/vorce/gists{/gist_id}","starred_url":"https://api.github.com/users/vorce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vorce/subscriptions","organizations_url":"https://api.github.com/users/vorce/orgs","repos_url":"https://api.github.com/users/vorce/repos","events_url":"https://api.github.com/users/vorce/events{/privacy}","received_events_url":"https://api.github.com/users/vorce/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-24T12:44:26Z","updated_at":"2016-08-24T12:44:26Z","closed_at":null,"body":"I'm trying to send unexpected errors (such as when a process dies) to bugsnag. Is that possible with `Bugsnag.Logger`? If not how would I go about it?\r\n\r\nI've set bugsnag up like this in my config:\r\n\r\n    config :bugsnag, api_key: System.get_env(\"BUGSNAG_API_KEY\")\r\n    config :bugsnag, release_stage: \"#{Mix.env}\"\r\n    config :bugsnag, use_logger: true\r\n\r\nIs that the right way to enable `Bugsnag.Logger`? Also how can I simulate/trigger an error that `Bugsnag.Logger` will send? I've tried sending an unknown message to a process, but the resulting error does not match the pattern for `handle_event({:error_report, _gl, {_pid, _type, [message | _]}}, state) when is_list(message)`."}}
{"actor":{"display_login":"vorce"}}