text: import logger from 'loglevel'
  import startServer from './start'
  
  const notTest = process.env.NODE_ENV !== 'test'
  const isProduction = process.env.NODE_ENV === 'production'
  const logLevel = process.env.LOG_LEVEL || (notTest ? 'info' : 'warn')
  
  logger.setLevel(logLevel)
  
  startServer({port: isProduction ? process.env.PORT : undefined})
  