You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I currently use this kind of monkey patch to allow proper logging :
def_print(self, msg, msg_args):
""" Display the message on stout or stderr depending on verbosity """# XXX: Not using the logger framework: need to# learn to use logger better.ifnotself.verbose:
returnifself.verbose<50:
writer=sys.stderr.writeelse:
writer=sys.stdout.writemsg=msg%msg_argswriter('[%s]: %s\n'% (self, msg))
logging.info('[%s]: %s\n'% (self, msg))
jb.Parallel._print=_print
Any plan to make it more configurable in a near future ?
Congrat for this tiny but awesome lib by the way !
The text was updated successfully, but these errors were encountered:
I currently use this kind of monkey patch to allow proper logging :
Any plan to make it more configurable in a near future ?
Congrat for this tiny but awesome lib by the way !
The text was updated successfully, but these errors were encountered: