I am try to do tutorials on http://senecajs.org/docs/tutorials/logging-with-seneca.html
bug error occurs in LogHandlers.
another question, seneca.loghandler is still work?
D:\code\seneca-log-test\sales-tax-log-handler.js:8
{level: 'all', handler: seneca.loghandler.file('shop.log')}
^
TypeError: Cannot read property 'file' of undefined
at Object. (D:\code\seneca-log-test\sales-tax-log-handler.js:8:49)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Function.Module.runMain (module.js:694:10)
at startup (bootstrap_node.js:204:16)
at bootstrap_node.js:625:3
I am try to do tutorials on http://senecajs.org/docs/tutorials/logging-with-seneca.html
bug error occurs in LogHandlers.
another question, seneca.loghandler is still work?
D:\code\seneca-log-test\sales-tax-log-handler.js:8
{level: 'all', handler: seneca.loghandler.file('shop.log')}
^
TypeError: Cannot read property 'file' of undefined
at Object. (D:\code\seneca-log-test\sales-tax-log-handler.js:8:49)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Function.Module.runMain (module.js:694:10)
at startup (bootstrap_node.js:204:16)
at bootstrap_node.js:625:3