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

chore: change name logger to fit with the name of the library #97

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

renaudjester
Copy link
Collaborator

@renaudjester renaudjester requested a review from uriii3 July 18, 2024 07:23
Comment on lines +16 to 17
blank_logger = logging.getLogger("copernicusmarine_blank_logger")

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this blank logger for?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's basically to distiguish between normal logging and when you return true "outputs" of the program!

We use it in the describe and in the get when you do --show-outputnames

Copy link
Collaborator

@uriii3 uriii3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@renaudjester renaudjester merged commit 2005b27 into copernicusmarine-toolbox-v2 Jul 22, 2024
2 checks passed
@renaudjester renaudjester deleted the change-name-logger branch July 22, 2024 13:44
uriii3 pushed a commit that referenced this pull request Jul 31, 2024
Renamed the logger to `copernicusmarine` to fit with the convention that the logger is usually with the same name as the library
uriii3 pushed a commit that referenced this pull request Jul 31, 2024
Renamed the logger to `copernicusmarine` to fit with the convention that the logger is usually with the same name as the library
renaudjester added a commit that referenced this pull request Aug 20, 2024
Renamed the logger to `copernicusmarine` to fit with the convention that the logger is usually with the same name as the library
renaudjester added a commit that referenced this pull request Aug 20, 2024
Renamed the logger to `copernicusmarine` to fit with the convention that the logger is usually with the same name as the library
renaudjester added a commit that referenced this pull request Aug 29, 2024
Renamed the logger to `copernicusmarine` to fit with the convention that the logger is usually with the same name as the library
renaudjester added a commit that referenced this pull request Oct 28, 2024
Renamed the logger to `copernicusmarine` to fit with the convention that the logger is usually with the same name as the library
renaudjester added a commit that referenced this pull request Oct 28, 2024
Renamed the logger to `copernicusmarine` to fit with the convention that the logger is usually with the same name as the library
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