Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement the standardized Development Configuration Options #162

Closed
akornich opened this issue Jun 18, 2019 · 1 comment
Closed

Implement the standardized Development Configuration Options #162

akornich opened this issue Jun 18, 2019 · 1 comment
Assignees

Comments

@akornich
Copy link
Contributor

akornich commented Jun 18, 2019

The following config options are independent of each other:

enabled
* Enable or disable Rollbar in your project. This can be changed at runtime with Rollbar::enable() and Rollbar::disable() or through Rollbar::configure().
* If this is false then do absolutely nothing, try to be as close to the scenario where Rollbar did not exist at all in the code.
* Default: true
NOTE: This option is already implemented sometime ago. Verify its implementation logic to be consistent with other SDKs...

transmit #163
* Should the SDK actually perform HTTP requests to Rollbar API. This is useful if you are trying to run Rollbar in dry run mode for development or tests.
* If this is false then we do all of the report processing except make the post request at the end of the pipeline.
* Default: true

logPayload #164
* Log the payload body to the configured logPayloadFile (default: "rollbar.payloads").
* If this is true then we output the payload to standard out or a configured logger right before transmitting.
* Default: false

verbose (or verbosity) #???
* This configuration option controls the verbosity of the internal logs of the SDK.
* The value is one of the following with an increasing level of verbosity:
* The levels should follow: https://tools.ietf.org/html/rfc5424
* Additionally, there will be none level which makes the SDK quiet.
* Default: none

The defaults could be environment-dependent and we would just need to work out what those should be.

@akornich akornich self-assigned this Jun 19, 2019
akornich added a commit to WideSpectrumComputing/rollbar-ios that referenced this issue Jun 20, 2019
- feat: ref rollbar#162: Implement the standardized Development Configuration Options.
- feat: resolve rollbar#163: Add developer option: transmit.
akornich added a commit to WideSpectrumComputing/rollbar-ios that referenced this issue Jun 25, 2019
- feat: ref rollbar#162: Implement the standardized Development Configuration Options.
- feat: resolve rollbar#164: Add a developer config option: logPayload.
@akornich
Copy link
Contributor Author

akornich commented Dec 2, 2020

looks like most of these (if not all are already implementing). taking into account that we are about to deprecate this repo, let's close it.

@akornich akornich closed this as completed Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant