How do i log something in meteor?

后端 未结 3 2039
情歌与酒
情歌与酒 2020-12-31 07:36

Can I use something like winston npm in the underlying .meteor/local/build/server/node_modules?

or even node-loggly

3条回答
  •  梦谈多话
    2020-12-31 07:51

    You can use winston (nodejs logging module) with meteor. And it does support several transports including, loggly, mongo and so many others.

    See my article on how to integrate it

提交回复
热议问题