zowe / zowe-client-python-sdk

Eclipse Public License 2.0
41 stars 28 forks source link

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

Closed zFernand0 closed 2 months ago

zFernand0 commented 4 months 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 4 months 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 4 months ago

Would like to work on this issue :relaxed: