enabled LoggingService.validateEvent() to be composable by having it
return the event if it is valid