ttchat icon indicating copy to clipboard operation
ttchat copied to clipboard

Logging?

Open LogicalSoIutions opened this issue 2 years ago • 8 comments

Possible to add logging so I can ass all the output from a chat?

LogicalSoIutions avatar Dec 03 '22 23:12 LogicalSoIutions

Yes, I think that is possible. Do you want the chat in your terminal and in a file or just in a file?

atye avatar Dec 04 '22 14:12 atye

I would prefer a file honestly

LogicalSoIutions avatar Dec 04 '22 15:12 LogicalSoIutions

Do you want to pass in your own file to write to or should ttchat create a file tell you where it is?

atye avatar Dec 04 '22 15:12 atye

I think ttchat could just ask what dir to make the logs and make the log based off channel name?

LogicalSoIutions avatar Dec 04 '22 15:12 LogicalSoIutions

The files can be put in $HOME/.ttchat where config.yaml also is. I think that makes sense.

atye avatar Dec 04 '22 15:12 atye

Agreed

LogicalSoIutions avatar Dec 04 '22 15:12 LogicalSoIutions

Do you want the chat as is or more info like timestamps or whatever else might be possible?

atye avatar Dec 04 '22 15:12 atye

I think as is with a time stamp would be good?

LogicalSoIutions avatar Dec 04 '22 15:12 LogicalSoIutions