objcio/swift-talk-backend

Log events to the database

chriseidhof opened this issue · 1 comments

I think it could be useful (e.g. for analysis later) to log some events to the database. I imagine something like:

enum Event {
case signup(userId: UUID)
case gift(giftID: UUID)
case unexpectedError(Error, context...)
...
case