You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BREAKING CHANGE: add logging function for basic error types (#363)
**Issue
number:[ADDON-68670](https://splunk.atlassian.net/browse/ADDON-68670)**
## Summary
Extending log module with new error logging functions. Breaking change
for `log_exception` function.
### Changes
* added new functions for error logging.
* added `exc_l` parameter to logging message to categorize errors.
* added `exc_l` parameter to `log_exception` function as a mandatory
argument to log errors with custom category.
### User experience
* user can categorize errors in the add-on using new functions. For now
5 basic categories are prepered: Authentication, Permission, Connection,
Configuration, Server.
* user can add custom error category using `log_exception` function by
adding another args `exc_label`
* all user's current use of the `log_exception` function must be
extended with a `exc_label` argument to categorize error.
## Checklist
If your change doesn't seem to apply, please leave them unchecked.
* [x] I have performed a self-review of this change
* [x] Changes have been tested
* [] Changes are documented
* [x] PR title follows [conventional commit
semantics](https://www.conventionalcommits.org/en/v1.0.0/)
0 commit comments