Currently, log_call decorator is using the python std module logging module internally to log message
@log_call
class A:
def __init__(self):
pass
def a(self,*args,**kwargs):
pass
log_call should receive a param where we can pass a custom logging function to log the message as people can use click or several other libs which provide logging facility for logging
Currently, log_call decorator is using the python std module logging module internally to log message
log_call should receive a param where we can pass a custom logging function to log the message as people can use click or several other libs which provide logging facility for logging