Skip to content
TwiggyBuffaloPublic

About

A lightweight express middleware logger with little functionality.

Topics

Resources

Stars

3 stars

Watchers

2 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

Captain

A lightweight express middleware logger with little functionality.

How to use it

Its really simple simply add captain as a middleware matee

var express = require("express");
var captain = require("captain")

var app = express();

var port = process.env.PORT || 9000;

app.use(captain);

app.listen(port, function(){
  console.log("Server is running on port " + port);
});

Results

And there ya go! all network requests will be logged meaning you have more time to scrub the poop decks...

About

A lightweight express middleware logger with little functionality.

Topics

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages