I would like to log all of what I do from input to what I can get-output into my text file, how can I make it ????

Thanks a lot