All Downloads are FREE. Search and download functionalities are using the official Maven repository.

avabrake.0.1.5.source-code.Airbrake Maven / Gradle / Ivy

There is a newer version: 0.3.0
Show newest version
package io.airbrake.javabrake;

import java.util.concurrent.Future;

/** Airbrake is a proxy class for default Notifier. */
public class Airbrake {
  static Notifier notifier;

  public static void setNotifier(Notifier notifier) {
    Airbrake.notifier = notifier;
  }

  public static Future report(Throwable e) {
    return notifier.report(e);
  }

  public static Future send(Notice notice) {
    return notifier.send(notice);
  }

  public static Notice sendSync(Notice notice) {
    return notifier.sendSync(notice);
  }

  public static Notice buildNotice(Throwable e) {
    return notifier.buildNotice(e);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy