I often times write things online and offline that end up getting lost either due to a session ending, the program crashing, or something else, and it's incredibly frustrating to have to rewrite everything you just wrote.
I don't need everything logged, nor old things, only what I've just written. So, for privacy and safety reasons, I'm looking for a personal keylogger that will only log the last X characters that you typed and which allows you to customize that X variable. Alternatively, although less effective, one that only recorded the last X minutes would also suffice. So what I'm basically looking for is the Cockpit Voice Recorder of keyloggers.
Does such a keylogger exist?