created factories that generate log messages & logEntry