code: function Slack(options) {
    var suppliedOptions = options ? options : {};
    if (!suppliedOptions.webhook || typeof suppliedOptions.webhook !== 'string') {
      throw new Error('Invalid webhook parameter');
    }
    this.name = 'slack';
    this.webhook = suppliedOptions.webhook;
    this.customFormatter = suppliedOptions.customFormatter || defaultFormatter;
    delete suppliedOptions.customFormatter;
    delete suppliedOptions.webhook;
    this.options = extend({
      channel: '#general',
      username: 'winston-slacker',
      iconUrl: false,
      iconEmoji: false,
      level: 'info',
      silent: false,
      raw: false,
      name: 'slacker',
      handleExceptions: false,
    }, suppliedOptions);
  }
docs: Slack integration for Winston
  @param {object} Options parameter