deprecated(prop) {
    return () => {
      throw new Error(format('{ %s } was removed in winston@3.0.0.', prop));
    };
  }
Set of simple deprecation notices and a way to expose them for a set of
properties.
@type {Object}
@private