-
Notifications
You must be signed in to change notification settings - Fork 18
ChatLoggingService
Rogiel edited this page Aug 3, 2011
·
2 revisions
This service logs each message sent in the server. There can be several implementations that stores logs in different locations (or don't store at all!) however only a single implementation can be active at any given time.
This service is called by contract in ChatChannel implementations. The log method creates a new ChatMessage object, stores it (optional) and returns the object. The same object will be sent to all listeners and will contain: message text, sender and date. Other optional fields might also be available.
Filters will be called before logging can occur. If any filter refuses the message, it will NOT be logged.
- DatabaseChatLoggingService Default