Implementation of the
DbEventLoggerclass is responsible for logging event records in the database.
DbEventLogger(EventLogService eventLogService, DefaultDbToLogConverter eventConverter)¶
Creates an instance of DbEventLogger which provides logic for persisting logs in the database.
- eventLogService – Motech Data Service for EventLogs, generated and injected by MDS module
- eventConverter –
DefaultDbToLogConverterresponsible for converting incoming events to database persisting state