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

Merge branch feature-issue109. #163

Merged
merged 18 commits into from
Aug 24, 2024
Merged

Merge branch feature-issue109. #163

merged 18 commits into from
Aug 24, 2024

Conversation

end2endzone
Copy link
Owner

Fixes #109

Property `system.logging.verbose` or environment variable `SA_OPTION_LOGGING_VERBOSE` can be set to a value that evaluates to true to enable/disable verbose logging.
The environment variable has priority over the local property.
…ings(). Also added a non-verbose scope logger for clarity.
…more now that we are using `ScoperLogger` class.
* master:
  Update sa_plugin_services.cpp. Removed double LF in logs from the plugin.
  Fixed a bug in LoggerHelper.cpp where logging without a filename had potential of crashing the application
  Updated workflows warnings for deprecated actions. Fixes the following warnings: ``` Deprecation notice: v1, v2, and v3 of the artifact actions The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "Installation packages.", "unit-test-logs", "unit-test-results". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/ build The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-python@v4, exuanbo/actions-deploy-gist@v1, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/ ```
…such as ToHex().

Fixed instance address printing in LoggerHelper class.
Updated code that print a Menu description.
Created new test for validating implementation: `TestIObject.testToLongString`.
…g functions/scopes.

Changed Menu class description to use Menu::ToShortString() value instead.
Replaced usage of `Win32Utils::GetMenuTree()` by `ConfigManager::ToLongString()`. This will only print data from ShellAnything and not "the other shell extensions menu items.
…nes). Also the declaration is more human readable than having 2-4 arguments.
…NFO::instance` is specified. SKipped setting `INFO::instance` to debug instance address for singleton object. The address never change.
…by default.

Added more tests in TestLoggerHelper to validate LoggerHelper features.
…INFO` to prevent confusion with and `SA_LOG(INFO)` calls.
@end2endzone end2endzone merged commit 3db95a7 into master Aug 24, 2024
4 checks passed
@end2endzone end2endzone deleted the feature-issue109 branch August 24, 2024 14:11
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

Successfully merging this pull request may close these issues.

Implement default and verbose logging
1 participant