Breaking changes
This is a complete rewrite of ecs-logs-js so there's couple of breaking changes. The main one being that ecs-logs-js is no longer a Winston plugin, it's now a standalone logger.
If you were only using the .log(), .emerg(), .alert(), .crit(), .error(), .warn(), .notice(), .info() and .debug() methods, it should just be a drop in replacement. The main thing to watch out for is that the new methods only accept a single data parameter and don't accept a callback function.
If you were using separate development and production transports with Winston, you can now use the devMode option to enable pretty human friendly logs in development.
Only Node >=10 is now supported.
New Features
Added a devMode option that enables pretty human friendly logs in development.
ecs-logs-js also now supports all of Node's primitive data types, including Error, Map, Set and BigInt.