/// <summary> /// Loads the telemetry configuration. /// </summary> /// <returns>ITelemetryConfig.</returns> /// <returns>Either IRollbarConfig or null if no configuration file found.</returns> public static ITelemetryConfig LoadTelemetryConfig() { TelemetryConfig config = new TelemetryConfig(); if (RollbarConfigUtility.Load(config)) { return(config); } return(null); }
/// <summary> /// Loads the rollbar configuration. /// </summary> /// <returns>Either IRollbarConfig or null if no configuration file found.</returns> public static IRollbarConfig LoadRollbarConfig() { RollbarConfig config = new RollbarConfig("seedToken"); if (RollbarConfigUtility.Load(config)) { return(config); } return(null); }