Catalog npm
Back to packageRELEASE DETAILS

1.0.1

npm

4dev-lib-log

Serves to create and maintain the log file

create logloglog filelog writecreatefilewrite
Published1 Mar 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-fT0ZYgGL08uBJ6vRjzwDY+p9S5c/0yFZ0N84BOzT+WlijU8GQTl5cIoqWyZ/9fME1Bc9x1zcGwrrVozvjnYVZQ==",
  "shasum": "12e7a64a8a5a510dca43ba6b04ac17fccc6a6292",
  "tarball": "https://registry.npmjs.org/4dev-lib-log/-/4dev-lib-log-1.0.1.tgz",
  "fileCount": 4,
  "unpackedSize": 3018,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIQDlBTqBLq5+NdZLwE6mTFdmMJrMZMTx3KAk7F+eJkFTbwIgeUDUn1XwhGMwkuwGytShUsSadEmqJEFRJu3U3ubNANg="
    }
  ]
}

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:68acd4e2ed76608a6467c23475bd6ae472f30ee18a87be388e043468dc2c9c52

Other collected versions

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