aimclub / FEDOT

Automated modeling and machine learning framework FEDOT
https://fedot.readthedocs.io
BSD 3-Clause "New" or "Revised" License
627 stars 86 forks source link

Refactor "if verbose" logic in core classes #170

Closed J3FALL closed 3 years ago

J3FALL commented 3 years ago

In core classes (such as Chain, Node, Model, etc.) we have an optional key verbose = True, and depending on its value logs are either printed in console or not. However, it is required to add dublicated if/else constructions in code (see example). In this issue, the logging logic should be refactored via implementing additional "default_log" that allow one to write logs only to file (without console dublications). For details, see this comment.

BarabanovaIrina commented 3 years ago

https://github.com/nccr-itmo/FEDOT/pull/168#discussion_r518718898