amelinium.common.oplog.auth
added in 1.0.0
amelinium service, auth operations logger.
log-reporter
(log-reporter id channel {:keys [user-id client-id op operation msg message success ok ok? level executed time], :as m})
Report an event to a database using channel
.
log-writer
(log-writer id db table messages)
Authentication log buffered writer. For the given id
(configuration key, ignored), database connection (db
), database table (table
) and a queue of messages (messages
) performs multiple insert operation to a database and flushes the queue. Returns empty queue which should be reused by the writing thread.