Catalog npm
PACKAGE EXPLORERView in registry

4dev-lib-log

npm

Serves to create and maintain the log file

create logloglog filelog writecreatefilewrite
Versions collected9
Direct dependencies1From release 1.0.3
Last observed20 Oct, 20:07 UTC

README

Current package documentation

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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 9

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.3Registry latest1 Mar 20241
1.0.21 Mar 20241
1.0.11 Mar 20241
1.0.027 Feb 20241
0.0.423 Feb 20241
0.0.323 Feb 20241
0.0.222 Feb 20241
0.0.122 Feb 20241
0.0.022 Feb 20240

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:07 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:ca5b846047a8b6384fef9c0497e103397ac6e89ce31c014b0a15fa3c2fcc448b