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

examples: fixes, cleanup, use StepLogger instead of StepReporter #1449

Merged

Conversation

Bastian-Krause
Copy link
Member

Description
The examples are one of the starting points new users might look into. Don't use deprecated classes there and clean up.

Checklist

  • PR has been tested

Add missing imports and use correct variable names.

Signed-off-by: Bastian Krause <[email protected]>
Signed-off-by: Bastian Krause <[email protected]>
The examples try to demonstrate how labgrid can be used. So use sane,
consistent imports for this purpose.

Signed-off-by: Bastian Krause <[email protected]>
StepReporter is deprecated, use StepLogger instead. While at it, make
use of labgrid's basicConfig(). It provides a very similar format
string, so drop all redundant arguments.

Also switch from DEBUG to INFO log level for various examples that do
not benefit from such a noisy log level.

Signed-off-by: Bastian Krause <[email protected]>
@Bastian-Krause Bastian-Krause merged commit 5755430 into labgrid-project:master Jul 23, 2024
9 checks passed
@Bastian-Krause Bastian-Krause deleted the bst/examples-fixes branch July 23, 2024 16:05
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