Skip to content

A lightweight express middleware logger with little functionality.

Notifications You must be signed in to change notification settings

TwiggyBuffalo/captain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published