zowe / zowe-client-python-sdk

Eclipse Public License 2.0
39 stars 26 forks source link

feat: Allow logger to be disabled at the class-constructor level #316

Open zFernand0 opened 1 month ago

zFernand0 commented 1 month ago

Is your feature or enhancement request related to a problem or limitation? Please describe

Describe your enhancement idea

As an example, someone could do Datasets(profile, log=False)

Describe alternatives you've considered

profile = ProfileManager().load(profile_type="zosmf", validate_schema=False)
ds = Datasets(profile)
Log.close_all()
console = Console(profile)
jobs = Jobs(profile)

The above will run off the logger for Datasets abut keep it open for the other classes since they are initialized after the Log.close_all() call

Provide any additional context

github-actions[bot] commented 1 month ago

Thank you for raising this enhancement request. The community has 90 days to vote on it. If the enhancement receives at least 5 upvotes, it is added to our development backlog. If it receives fewer votes, the issue is closed.

aadityasinha-dotcom commented 1 month ago

Would like to work on this issue :relaxed: