Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Adding the logger module
Browse files Browse the repository at this point in the history
  • Loading branch information
amoshaviv committed Jun 23, 2013
1 parent 1c7837c commit d115178
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
var express = require('express')
, fs = require('fs')
, passport = require('passport')
, logger = require('mean-logger')

/**
* Main application entry file.
Expand Down Expand Up @@ -49,5 +50,8 @@ var port = process.env.PORT || 3000
app.listen(port)
console.log('Express app started on port '+port)

//Initializing logger
logger.init(app, passport, mongoose)

// expose app
exports = module.exports = app

0 comments on commit d115178

Please sign in to comment.