function tailLogInfo(caller) {
            if (caller.userProfile?.name !== undefined) {
                return ' user ' + caller.userProfile.name
            } else if (caller.id !== undefined) {
                return ' socket id ' + caller.id
            }
            return 'caller does not have a user profile name or caller id'
        }
@param {{
  userProfile?: {
    name: string
  },
  id: string
}} caller 
@returns {string}