guzru / winston-sentry

Sentry transport for winston logger for node js
MIT License
82 stars 37 forks source link

Add support for winston@3.0.0 #50

Open TuxGit opened 6 years ago

TuxGit commented 6 years ago

Tested winston@3.0.0rc5 and its not work.

some crutch:

// Sentry.prototype.log = function (level, msg, meta, callback) {
Sentry.prototype.log = function (info, callback) {
const { level, message: msg, meta } = info;
kasir-barati commented 2 years ago

@TuxGit I guess Because of this line

Transport.call does not exists. Maybe this helps you to write your custom transporter for it.