Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 655 Bytes

README.md

File metadata and controls

39 lines (32 loc) · 655 Bytes

logger_express

Logger for express Server

Example

alt tag

Dependencies

node express

npm init
npm install express --save

Usage

1 - Download and place the files in your project root folder

2 - At your app.js or main file of express project add those lines

var logger = require('./logger');
app.use(logger);

And run your server

>node app.js

Tip

Strongly recommend use nodemon as watcher server

Install Globally

> npm install -g nodemon

Then run to your project folder and activate it

> nodemon