1.0.16 • Published 6 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
6 years ago
1.0.15
6 years ago
1.0.14
6 years ago
1.0.13
6 years ago
1.0.12
6 years ago
1.0.11
6 years ago
1.0.10
6 years ago
1.0.9
6 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago
0.0.17
6 years ago
0.0.15
6 years ago
0.0.14
6 years ago
0.0.13
6 years ago
0.0.12
6 years ago
0.0.11
6 years ago
0.0.10
6 years ago
0.0.9
6 years ago
0.0.8
6 years ago
0.0.7
6 years ago
0.0.6
6 years ago
0.0.5
6 years ago
0.0.4
6 years ago
0.0.3
6 years ago
0.0.2
6 years ago