text: const { getEventMetadata } = require('./logging-metadata');
  
  const logEvent = ({ userObject, action, eventName, logger, companyName }) => {
    logger.info(
      `User ${userObject.user} from team ${userObject.team}, customer name ${companyName} ${action}`,
      getEventMetadata({ message: userObject, eventName, companyName })
    );
  };
  
  module.exports = {
    logEvent
  };
  