I know this is a noob type of question, but I'm writing my first plugin, and I'm trying to find a good way of writing messages to a log.
My plugin sends SMS messages and I'd like to keep a log of what messages were sent, when, and what the response was.
I'm not trying to be lazy here, just get some input on how other people would do this. I'm looking for something nice and easy, but also secure.
My ideas so far are creating a new database table (yuck) or writing to a log file (insecure?).