New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gracelog

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gracelog - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

20

CHANGELOG.md
# Change log
## Version 0.1.4
## Added
None
## Changed
## Readme updated
## Deprecated
None
## Removed
None
***
## Version 0.1.3

@@ -4,0 +24,0 @@

2

package.json
{
"name": "gracelog",
"description": "Log management module",
"version": "0.1.3",
"version": "0.1.4",
"author": "Nobuyori Takahashi <voltrue2@yahoo.com>",

@@ -6,0 +6,0 @@ "repository": {

@@ -1,2 +0,2 @@

#gracenode.log
#gracelog

@@ -75,8 +75,2 @@ ###Access

### trace()
`.trace()` outputs a stack trace for debugging.
***
### Buffering

@@ -92,3 +86,3 @@

If the path to file is set, gracenode will log into files.
If the path to file is set, gracelog will log into files.

@@ -101,3 +95,3 @@ Log files are auto-rotated by YYYY/MM/DD.

If set to true, gracenode will send log to stdout stream of node.js process.
If set to true, gracelog will send log to stdout stream of node.js process.

@@ -110,3 +104,3 @@ Log module uses console object of node.js. This is a blocking operation. It is better to turn this option off in production.

If set to true, gracenode will color log text.
If set to true, gracelog will color log text.

@@ -119,3 +113,3 @@ Each log level has different color.

If set to true, gracenode will log hidden properties of objects.
If set to true, gracelog will log hidden properties of objects.

@@ -132,3 +126,3 @@ `"showHidden": true or false`

Log module has 6 log levels. If set to false, gracenode will ignored that level.
Log module has 6 log levels. If set to false, gracelog will ignored that level.

@@ -174,3 +168,3 @@ Each log level can be configured.

// address: IP address of the server
// name: the name that was set on gracenode.log.create()
// name: the name that was set on gracelog.create()
// level: verbose, debug, info, warn, error, or fatal

@@ -221,2 +215,6 @@ // messageObj: { message, timestamp }

###API: *trace*
`.trace()` outputs a stack trace for debugging.
###API: *info*

@@ -223,0 +221,0 @@

@@ -0,1 +1,2 @@

var assert = require('assert');
var log = require('../');

@@ -11,3 +12,3 @@ var logger;

color: true,
console: true,
console: false,
file: false,

@@ -36,6 +37,6 @@ level: '>= verbose'

log.on('output', function (address, name, level, msg) {
console.log('address:', address);
console.log('name:', name);
console.log('level:', level);
console.log('message:', msg);
assert(address);
assert(name);
assert(level);
assert(msg);
done();

@@ -42,0 +43,0 @@ });

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc