wfl
v1.0.9
Published
Log Management System
Downloads
3
Readme
WFL
Log Management System
Table of Contents
Install
This is a Node.js module available through the npm registry.
Before installing, download and install Node.js. Node.js 0.6 or higher is required.
Installation is done using the
npm install
command:
$ npm i wfl
Introduction
A log management system, which can help manage logs more easily.
Here is an example on how to use it:
let Log = require('wfl');
Log.error('Username Invalid');
Configuration
{
"wfl": {
"size": "15m",
"where": {
"error": "18m"
},
"path": "./Logger",
"offset": "2h",
"accessToDelete": true
}
}
Path
=> File storage location
Size
=> Maximum size of each file
Where
=> Delete old files from some folders
Offset
=> Maximum time for delete old file
AccessToDelete
=> update Disables deleting old files from disk