Can I log to Seq from client-side Javascript?

622 views
Skip to first unread message

Emiliano Parizzi

unread,
Oct 6, 2014, 9:44:40 PM10/6/14
to get...@googlegroups.com
Exactly that. Is it possible to log to a remote Seq server from client-side javascript?

If not, would you consider adding such capability and provide a simple javascript library?

Thanks

nblum...@nblumhardt.com

unread,
Oct 6, 2014, 10:30:27 PM10/6/14
to get...@googlegroups.com
Hi Emiliano!

No, it's not possible currently. I started this project with this scenario in mind: https://github.com/serilog/serilog.js (more details at http://nblumhardt.com/2014/06/can-we-change-the-face-of-javascript-logging-too/). Time constraints have held me back from completing it.

Options that I'm aware of currently are to use JSNLog (http://jsnlog.com) to bridge JavaScript logs across to Serilog, or, to put an HTTP endpoint on your own server that you can relay messages through.

Hope this helps,
Nick
Reply all
Reply to author
Forward
0 new messages