Catalog npm
Back to packageRELEASE DETAILS

1.0.3

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-+DEydQ980pd5LB7vtD4vQrDF9gM9ItW3MNnFdd2KY572YMgcOYtMvvL/nfV33gxvr2XRIO2iD/Nb3gKFb7U1wg==",
  "shasum": "f1b89a3a4188eb93b29d49f98b59df3875f82c75",
  "tarball": "https://registry.npmjs.org/4dev-lib-log/-/4dev-lib-log-1.0.3.tgz",
  "fileCount": 4,
  "unpackedSize": 2920,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEYCIQCFqmFm+sJ1I3TwpxoriPdeov+AKZTgqw/6JSOkchwxigIhAPjLr0C41Vi+wj4TtZpjiqQwadVc88Qm06rCbqivYPzt"
    }
  ]
}

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:e5a7ac0e8c550c526ecd0e609b87ba141e9e1e1ce7dff1e3929e032b34eebcf9

Other collected versions

1.0.21 Mar1.0.11 Mar1.0.027 Feb0.0.423 Feb0.0.323 Feb0.0.222 FebView all collected versions →