public static Rollbar.RollbarConfig GetRollbarConfig() { //this gets the rollbar config for posting to Real Rollbar //so the access token that is configured should be the one for Redgum.Rollbar.Repeater //not the token for whatever app(s) we might be repeating for //same can be said for environment return(new Rollbar.RollbarConfig(AppSettingsProvider.GetSetting("Rollbar.AccessToken")) { Environment = AppSettingsProvider.GetSetting("Rollbar.Environment") }); }
public static string GetSetting(string name) { var fullName = GetFullName(name); return(AppSettingsProvider.GetSetting(fullName)); }