1.0.3 • Published 2 months ago

4dev-lib-log v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
2 months ago

4dev-lib-log

Serves to create and maintain the log file

Installation

$ npm install --save 4dev-lib-log

Usage

Two arguments are transmitted:

  1. Text or array
  2. Type of message in the form of text

This method will create a file named Log.log and write down the text of the message. Any subsequent messages will be added to the next line.

var fd_lib_log = require('4dev-lib-log') 
async function write()
{
	console.log("test: 4dev-lib-log.write")
	/*
	Two arguments are transmitted
	1. Text or array
	2. Type of message in the form of text
	This method will create a file named Log.log and write down the text of the message. Any subsequent messages will be added to the next line.
	*/
	var r = await fd_lib_log.write('test log', 'error')
	console.log(r)
}
write()

License

ISC © Denis

1.0.2

2 months ago

1.0.1

2 months ago

1.0.3

2 months ago

1.0.0

3 months ago

0.0.4

3 months ago

0.0.3

3 months ago

0.0.2

3 months ago

0.0.1

3 months ago

0.0.0

3 months ago