wfl
TypeScript icon, indicating that this package has built-in type declarations

1.0.9 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i wfl

Weekly Downloads

1

Version

1.0.9

License

MIT

Unpacked Size

13.9 kB

Total Files

10

Last publish

Collaborators

  • aliazmoodeh