Hi, welcome to the forum and thanks for your question.
Tell me a little bit more about your platform.
Why do you want to generate text logs of your user inputs? What type of inputs do you need to save?
Overall, a simple PHP application that store data into a database that then you can easily extract and save into text it's pretty straightforward to build.