com.mottimotti.android.airbrake
Class AirbrakeNotifier

java.lang.Object
  extended by com.mottimotti.android.airbrake.AirbrakeNotifier

public class AirbrakeNotifier
extends Object

Airbrake Notifier Logs exceptions to Airbrake App (http://www.airbrakeapp.com)


Constructor Summary
AirbrakeNotifier()
           
 
Method Summary
static void notify(Throwable e)
           
static void notify(Throwable e, Map<String,String> metaData)
           
static void register(android.content.Context context, String apiKey)
           
static void register(android.content.Context context, String apiKey, String environmentName)
           
static void register(android.content.Context context, String apiKey, String environmentName, boolean notifyOnlyProduction)
           
static void setExtraData(Map<String,String> extraData)
          Add a custom set of key/value data that will be sent as session data with each notification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AirbrakeNotifier

public AirbrakeNotifier()
Method Detail

register

public static void register(android.content.Context context,
                            String apiKey)

register

public static void register(android.content.Context context,
                            String apiKey,
                            String environmentName)

register

public static void register(android.content.Context context,
                            String apiKey,
                            String environmentName,
                            boolean notifyOnlyProduction)

setExtraData

public static void setExtraData(Map<String,String> extraData)
Add a custom set of key/value data that will be sent as session data with each notification

Parameters:
extraData - a Map of String -> String

notify

public static void notify(Throwable e)

notify

public static void notify(Throwable e,
                          Map<String,String> metaData)


Copyright © 2013 MottiMotti Norway. All Rights Reserved.