title: Pino: default level undefined
body: <p>I'm very new to backend web dev and I'm trying to set up a TypeScript project. Most everything else seems fine but when I try to use the <code>Pino</code> logger, I get this error in the compiled <code>levels.js</code> file:</p>
  
  <p><code>throw Error(`default level:${defaultLevel} must be included in custom levels`)</code></p>
  
  <p>My <code>logger.ts</code> looks like this:</p>
  
  <pre><code>1 import pino from 'pino';
  2 
  3 const l = pino({
  4   name: process.env.APP_ID,
  5   level: process.env.LOG_LEVEL,
  6 });
  7 
  8 export default l;
  </code></pre>
  
  <p>The project was bootstrapped via <code>yeoman</code>.</p>
  
  <p>Not sure if that's enough to debug the issue.</p>