Winston Express
Winston Express is a helper for express, that allows you to log to winston from the browser.
It is simple to use.
var winstonExpress = winston = express = app = express; // winstonExpress takes two parameters,// an express app, and a winston logger instance.;
Only call winstonExpress()
once, or bad things could happen
Add the following script tag to your html:
<script type="text/javascript" src="/winston/client.js"></script>
Winston Express requires jQuery to be included before itself in the browser.
From there, you are ready to go! Anywhere in your browser side code you can use winston:
winston;winston;winston;winston;winston;