Closed mostechlee closed 7 years ago
@mostechlee, you'd need to setup a telegram bot, see How do I create a bot. and then use in the logger setup the details you receive. Let me know how it goes
The bot is already running. Now, only [info] messages appear. I want all the messages to come out of the telegram as on the console. Thank you for help
Thanks for your feedback.
Use parameter level
when you define your telegram transport
https://www.npmjs.com/package/winston-telegram
... and set unique
to false
unique to false option is all... Thank you very much!
the newly release version 0.9.0 support sending the reports to your telegram messenger.
Note that only the reports are sent and not all "info" messages for individual loans.
Hope you'll enjoy the feature as implemented
I modified logger.js using node-telegram-bot-api but only [info] message to me. how can I receive all message?