text: var express = require('express');
  var app = express();
  
  var winston = require('winston');
  //**** Change below to your require
  var HttpHeaderTransport = require('./main');
  
  // Middleware example to setup our logger.
  app.use(function(req, res, next) {
  	res.logger = new (winston.Logger)({
  		transports: [
  			new HttpHeaderTransport({
  				setHeader: res.set.bind(res),
  				level: 'debug'
  			}),
  			new (winston.transports.Console)({
  				level: 'warn'
  			})
  		],
  		levels:     {
  			warn: 4,
  			info: 6,
  			debug: 7
  		}
  	});
  	next();
  });
  
  app.get('/', function (req, res) {
  	res.logger.log('debug', 'Basic Log Message');
  	res.logger.log('debug', 5.96168, {id: 'parse-duration'});
  	res.logger.log('warn', 'Severe so logged to console too.');
  	res.logger.log('debug', 'Another Log Message');
  
  	res.logger.profile('rendering');
  	setTimeout(function () {
  		res.logger.profile('rendering');
  		res.send('Hello World!<br/>(Check the response headers for your logged info.)');
  	}, 1000);
  });
  
  app.listen(3000, function () {
  	console.log('Example app listening on port 3000!');
  });