You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/Users/foo/programming/my-logger/node_modules/winston-transport/legacy.js:17
throw new Error('Invalid transport, must be an object with a log method.');
^
Error: Invalid transport, must be an object with a log method.
at new LegacyTransportStream (/Users/foo/programming/my-logger/node_modules/winston-transport/legacy.js:17:11)
at DerivedLogger.add (/Users/foo/programming/my-logger/node_modules/winston/lib/winston/logger.js:277:7)
at Object.winston.(anonymous function) [as add] (/Users/foo/programming/my-logger/node_modules/winston/lib/winston.js:84:34)
at Object.<anonymous> (/Users/foo/programming/my-logger/1.js:8:9)
at Module._compile (module.js:624:30)
at Object.Module._extensions..js (module.js:635:10)
at Module.load (module.js:545:32)
at tryModuleLoad (module.js:508:12)
at Function.Module._load (module.js:500:3)
at Function.Module.runMain (module.js:665:10)
The text was updated successfully, but these errors were encountered:
Node: 8.6.0
npm: 5.2.0
OS: Mac OS X 10.12.6
winston: 3.0.0-rc1
winston-loggly: 1.3.1
I'm trying to use
winston-loggly
as in theREADME.md
and it doesn't work.I obtain:
The text was updated successfully, but these errors were encountered: