Catalog npm
Back to packageRELEASE DETAILS

0.0.2

npm

4dev-lib-log

Serves to create and maintain the log file

create logloglog filelog writecreatefilewrite
Published22 Feb 2024
Direct dependencies1
Transitive dependenciesNot calculated

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.

Declared dependencies 1

Native requirements
1 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
callsites
Environment
{
  "local_name": "callsites",
  "alias": false,
  "peer_metadata": null
}
^3.1.0runtime

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-fZgVIrLiULoVR+0yEeh0oKmTFb9xYpfIQsIkSl2pFGXIndK0LH+AHns7ONYfLd02QS2WlOSmSbq5vRA3jYr+iA==",
  "shasum": "04826aa259a51e12642a4e16690de8dbdadc7f79",
  "tarball": "https://registry.npmjs.org/4dev-lib-log/-/4dev-lib-log-0.0.2.tgz",
  "fileCount": 2,
  "unpackedSize": 1581,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEQCIHmlV3x7GZ3rQFlAYk70qLDw0WmOBjECtQAdat996azLAiAwevfxUns7WmzfHZKzBwvktVbQY5LisLuhtq+rHBBROQ=="
    }
  ]
}

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_version:a74c5740d3670b49aba4b67d5d44920ff8776beddfebbed01394314b16b7268f

Other collected versions

1.0.31 Mar1.0.21 Mar1.0.11 Mar1.0.027 Feb0.0.423 Feb0.0.323 FebView all collected versions →