Skip to content

Conversation

@aaronhurt
Copy link
Owner

Previous logging was always sent to stdout in functions, this prevented some functions like snapList from logging the commands sent as these functions printed return values used by other functions. To fix this, all user facing logging has been switched to stderr which is not picked up by calling functions. This commit also adds tests for the --status/-s and --help/-h options which includes testing of the sortLogs function.

Previous logging was always sent to stdout in functions, this prevented
some functions like snapList from logging the commands sent as these
functions printed return values used by other functions. To fix this,
all user facing logging has been switched to stderr which is not picked
up by calling functions. This commit also adds tests for the --status/-s
and --help/-h options which includes testing of the sortLogs function.
@aaronhurt aaronhurt merged commit 100ee17 into main Sep 1, 2024
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.

2 participants