Log service events

IOnReconcileExecutedEvent

This interface is implemented by all events that fire after a user has logged in and is being mapped to the Sitefinity CMS tracking cookie ID. There is only one such built-in event and you must subscribe to the interface rather than the class that implements it.

In the event handler, you can access the following information:

  • UserId – the ID of the user that logged in
  • TrackingId – Sitefinity CMS tracking cookie ID (sf-trckngckie).

Your event handler must look like this:

IFlushSentencesCompletedEvent

This interface is implemented by all events that fire after the Log service buffer is flushed to the database. There is only one such built-in event and you must subscribe to the interface rather than the class that implements it.

In the event handler, you can access the Items – a list of sentence items that are stored in the database after the Log service buffer flushed

Your event handler must look like this:

Was this article helpful?

Next article

Pages events