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

[wip] logging in ConsIndShockModel #714

Merged
merged 14 commits into from
Jun 18, 2020
Merged

Conversation

MridulS
Copy link
Member

@MridulS MridulS commented Jun 12, 2020

supersedes #701

  • need to define the logging levels in documentation, with this design we can have 3 level verbosity. [WARNING, INFO, DEBUG] (controlled by the function argument verbose, which can take in 1, 2, 3 as levels)
  • by default, logger will be at WARNING

@project-bot project-bot bot added this to Needs Triage in Issues & PRs Jun 12, 2020
@MridulS
Copy link
Member Author

MridulS commented Jun 18, 2020

different control over logging:

model = PerfForesightConsumerType(verbose=(0/1/2/3) ....)

model.checkConditions(verbose)

model.checkRIC(verbose)

from HARK import disable_logging
disable_logging() # no logging

@llorracc llorracc merged commit ac57981 into econ-ark:master Jun 18, 2020
Issues & PRs automation moved this from Needs Triage to Done Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Issues & PRs
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants