Update for winston v3
-
pass loggly http client errors to winston
-
add flushLogsAndExit function
-
add flag for network errors
-
update dependencies
-
fix js strict mode
-
fix sending winston splats
extra properties in winston.log (called splats) are now being sent to Loggly as an array named "details". In winston v2 they were simply appended to the message. For example loggingwinston.log("info", "Hello World", { bar: "baz" }, { "foo": "test" })
will produce{ level: "info", message: "Hello World", bar: "baz", details: [{ "foo": "test" }] }
-
use lodash.clonedeep for cloning
-
redo tests
-
remove legacy code
-
various small fixes
-
code formatting