Logger for debugging purposes.
Expands SetLogger with ability to print some interesting information (named Metric... XXX) about current process at each debug printout
Parameters : | metrics : iterable of (func or str) or None
offsetbydepth : bool, optional
*args, **kwargs :
|
---|
Register some metric to report
func can be either a function call or a string which should correspond to known metrics