3.1.8 • Published 3 years ago

txt-logger v3.1.8

Weekly downloads
19
License
MIT
Repository
github
Last release
3 years ago

Installation

Install it using npm :

$ npm install txt-logger

Actually not available with yarn

Getting started

Import the module in your code with the following line :

const txt-logger = require('txt-logger');

Usage

Create your own log, with the date (automatically set), the title (required) and your log (required) and the path (required) :

txt-logger.log({title : "your log's title here", log : "your log's content here", path : "path_to_your_log"}, (err) =>{
    console.log(err)
    })

Search if your log contains a value, with the path (required), and the value you want to search :

txt-logger.search({value : "the value you want to search", path : "path_to_your_log"}, (err) =>{
    console.log(err)
})
3.1.8

3 years ago

3.1.7

3 years ago

3.0.7

3 years ago

3.0.6

3 years ago

3.0.5

3 years ago

3.0.4

3 years ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago