public AirbrakeNoticeBuilder(IAirbrakeConfiguration configuration) : base(configuration) { Notifier = new AirbrakeNotifier { Name = "SharpBrakeWeb", Url = "https://github.com/kayoom/SharpBrake", Version = typeof (AirbrakeNotice).Assembly.GetName().Version.ToString() }; }
/// <summary> /// Initializes a new instance of the <see cref="AirbrakeNoticeBuilder"/> class. /// </summary> /// <param name="configuration">The configuration.</param> public AirbrakeNoticeBuilder(IAirbrakeConfiguration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); Configuration = configuration; Log = LogManager.GetLogger(GetType()); ServerEnvironment = new AirbrakeServerEnvironment(Configuration); Notifier = new AirbrakeNotifier { Name = "SharpBrakeCore", Url = "https://github.com/kayoom/SharpBrake", Version = typeof (AirbrakeNotice).Assembly.GetName().Version.ToString() }; }