mathew-kurian / Scribe.js

:scroll: Node.js logging made simple! Online access to logs and more...
https://mathew-kurian.github.io/Scribe.js/
MIT License
284 stars 45 forks source link

Integrating with Winston.js #45

Open danilodeveloper opened 9 years ago

danilodeveloper commented 9 years ago

Hello! There is a way to integrate with Winston.js? For example using streaming, transport or something else? If not, I think I can send a PR to do it.

I'm asking this because currently I'm using Winston.js in my apps, so I would like to reduce the impact of switch to Scribe.

Anyway, Scribe.js looks like awesome! Tks!!

guillaumewuip commented 9 years ago

Scribe is very modular so you probably can make bridges between Scribe modules (Console2, WebPanel) and Winston. There isn't a real API for that but I think it's possible. Feel free to send a PR, it'll be welcome :)

You actually want to see Winston logs in the Scribe.js Webpanel ?

danilodeveloper commented 9 years ago

Hi @guillaumewuip!! Yes, I'd like to see Winston logs in the Scribe.js webpanel. Probably we can do it creating a Winston custom transport

guillaumewuip commented 9 years ago

Yes, for now the WebPanel find the logs store locally in files. Maybe you could stores Winston logs with the LogWriter module and the WebPanel should do his job fine :)

lzilioli commented 9 years ago

@danilodeveloper any luck with this? I'm looking for the same functionality.