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.13 to 0.1.14

18

CHANGELOG.md

@@ -17,18 +17,2 @@ # Change log

## Version 0.1.11
## Added
None
## Changed
#### create function does not require log name any more.
`gracelog.create([*logName])` does not require a `string` `logName`.
If `logName` is not provided, `gracelog` will default the log name to the file name of the script calling `.create()`.
***
## Version 0.1.12

@@ -42,3 +26,3 @@

#### Default log name can now defect its own file name and ignores it
#### Default log name can now detect its own file name and ignores it

@@ -45,0 +29,0 @@ ***

2

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

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

@@ -19,2 +19,3 @@ #gracelog

"console": true or false,
"remote": <object> or null/false,
"color": true or false,

@@ -92,2 +93,19 @@ "showHidden": true or false, // show hidden properties of object

#### remote
If the configurations for `remote` logging is provided, gracelog sends log data via UDP protocol.
**Configurations**
```
var gracelog = require('gracelog');
var configData = {
remote: {
host: 'localhost',
port: 8000
}
};
gracelog.config(configData);
```
#### console

@@ -94,0 +112,0 @@

@@ -60,2 +60,8 @@ var assert = require('assert');

it('Can log an object', function (done) {
var obj = require('../package.json');
logger.info(obj);
done();
});
});
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