Skip to content

mpiivonen/gulp-carpo-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-carpo-logger

School project

Node.JS Gulp module: Advanced Logger

Features

  • backup weekly
  • keep record of last four weeks

Syntax

Syntax

logger(file, weeks, pattern);

file

Carpo-Logger custom log file

default: custom.log

weeks

Log roration (Weekly)

default: 4

pattern

Use crontab format.

default: 0 0 * * * 1

Example

var gulp = require('gulp');
var logger = require('gulp-carpo-logger');

gulp.task('default', function()
{
    logger();
});

Creative Commons Attribution 4.0 International Public License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published