title: Winston 3.0 colorize whole output on console
body: <p>I am developing a Node.js application, using <a href="https://www.npmjs.com/package/babel-cli" rel="noreferrer">babel-cli</a> as an ES6 transpiler and I am using <a href="https://www.npmjs.com/package/winston" rel="noreferrer">Winston 3.0</a> as my logging service.</p>
  <h2>Question:</h2>
  <p>I want the whole output of the messages from the winston logger to appear in color, not just the label and the message, but the timestamp as well. I know that, in Winston 2.x that was in some ways possible (don't know how though).</p>
  <p>I have already tried different NPM Packages like <a href="https://www.npmjs.com/package/winston-color" rel="noreferrer">winston color</a> and <a href="https://www.npmjs.com/package/winston-console-formatter" rel="noreferrer">winston-console-formatter</a>, but they don't seem to work.</p>
  <p>I have defined my logger as follows:</p>
  <pre class="lang-js prettyprint-override"><code>    import winston from 'winston'
      
      let alignColorsAndTime = winston.format.combine(
          winston.format.colorize({
              all:true
          }),
          winston.format.label({
              label:'[LOGGER]'
          }),
          winston.format.timestamp({
              format:&quot;YY-MM-DD HH:MM:SS&quot;
          }),
          winston.format.printf(
              info =&gt; ` ${info.label}  ${info.timestamp}  ${info.level} : ${info.message}`
          )
      );
      
      export const logger = winston.createLogger({
          level: &quot;debug&quot;,
          transports: [
              new (winston.transports.Console)({
                  format: alignColorsAndTime
              })
          ],
      });
  </code></pre>
  <p>Still the output looks something like this:
  <a href="https://i.stack.imgur.com/NGTSM.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/NGTSM.jpg" alt="Click for Image" /></a></p>
  <p>While I'd rather have it look styled like this:
  <a href="https://i.stack.imgur.com/BqXev.png" rel="noreferrer"><img src="https://i.stack.imgur.com/BqXev.png" alt="Click for Image" /></a></p>