Refactor "if verbose" logic in core classes
Created by: J3FALL
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.