title: Adding different formatters to Winston transports
body: <p>I need a different types of formatters for each transport.</p>
  
  <p>Example:</p>
  
  <pre><code>logger = new (winston.Logger)({
      transports: [
          new (winston.transports.LogstashUDP)({
              // some config here. Do noting on formatting
          }),
          new (winston.transports.Mail)({
              // do formatting one way
          }),
          new (winston.transports.File)({
              // write to file as json (maybe format it here)
          }),
          new (winston.transports.Console)({
              // do another formatting
          })
      ]
  });
  </code></pre>
  
  <p>As i can see from winston transports <a href="https://github.com/winstonjs/winston/blob/master/docs/transports.md" rel="nofollow noreferrer">docs</a> only Console supports custom formatter.</p>
  
  <p>I'm using <code>winston-mailer</code> module for mail and <code>winston-logstash-upd</code></p>
  
  <p>Is there any way to solve this with Winston? Or maybe how to create wrapper around one of these modules to support formatting?</p>