1.0.6 • Published 8 years ago

moolog v1.0.6

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
8 years ago

Moo

What is moo?

Moo is a simple logging system for Node Servers. It will log the day in ISO, the request method and the url hit and save them based on day.

How do I add it to my project?

npm install moolog --save

How do I configure it?

Since its my first module and I wanted to keep the complexity down to a minimum, you have two options for configuration.

var moolog = require('moolog');

var options = {
	re: /.*(js|ico)/, // ignore any logs matching this re 
	display: true,   // show the logs as they are processed
	path: 'myLogs'   // a directory name to store logs in
};
app.use( moolog( options ) );
1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago