A SQL Server transport for winston
npm install winston-sqlserver.
CreateLogTable.sqlto create a table of the form necessary for this package.
var winston = require'winston';// Requiring `winston-sqlserver` will expose `winston.transports.SQLServer`require'winston-sqlserver';winstonaddwinstontransportsSQLServer options;
Unit tests can be found in the
They require mocha and should to be installed via npm.
Testing can be configured with variables in test-config.js.
The default settings assume SQL Express has been installed and
CreateLogTable.sql has been run in a database called winston.