bugsnag / bugsnag-cli

CLI for uploading symbol files and creating releases on your BugSnag dashboard
https://docs.bugsnag.com/build-integrations/bugsnag-cli/
MIT License
3 stars 1 forks source link

[PLAT-12131] Add the ability to set the log level #103

Closed joshedney closed 5 months ago

joshedney commented 5 months ago

Goal

Add the ability to change the logLevel via the --log-level command line option. Add validation to the setting of the log level to ensure that only accepted values are passed.

example:

$ bugsnag-cli upload react-native-android ... --log-level=fatal

Output:

[FATAL] failed after 1 attempts. 401 Unauthorized: invalid apiKey

Testing

Covered by CI