1.0.16 • Published 7 years ago
telebug v1.0.16
Telebug
Tools for logging your production errors from Node.js or browser to your telegram channel.
Init
Minimal configuration is:
telebug({
botId: 'bot_id',
chatId: '@channel_name',
});
Options
botId
(String) — your bot id, it's required fieldchatId
(String) — chat id, it's required fieldhosts
(Array) — accepted host from you want to recive messages,[]
by defaultcors
(Boolean) — disable message about error inside external cross origin script,false
by defaultcustomInfo
(Object) — (browser only) this info adds to every error notification -->
For example
telebug({
botId: 'bot_id',
chatId: '@channel_name',
hosts: ['ymatuhin.ru', 'ymatuhin.net'],
cors: true,
customInfo: {
userId: 1,
userName: 'Yury',
},
});
1.0.16
7 years ago
1.0.15
7 years ago
1.0.14
7 years ago
1.0.13
7 years ago
1.0.12
7 years ago
1.0.11
7 years ago
1.0.10
7 years ago
1.0.9
7 years ago
1.0.8
7 years ago
1.0.7
7 years ago
1.0.6
7 years ago
1.0.5
7 years ago
1.0.4
7 years ago
1.0.3
7 years ago
1.0.2
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago
0.0.17
8 years ago
0.0.15
8 years ago
0.0.14
8 years ago
0.0.13
8 years ago
0.0.12
8 years ago
0.0.11
8 years ago
0.0.10
8 years ago
0.0.9
8 years ago
0.0.8
8 years ago
0.0.7
8 years ago
0.0.6
8 years ago
0.0.5
8 years ago
0.0.4
8 years ago
0.0.3
8 years ago
0.0.2
8 years ago