It is possible to make logger decorator print variable names and values of the decorated funcion
def logger(f): def inner(*args): print(vars()) return