Please sign in to comment.
[api] Use `options.name` when creating a new transport
Winston uses `transport.name` to distinguish transports and don't allow duplicates to be created. It's convenient to be able to set this property from `options` object when creating an instance of a transport.
- Loading branch information...