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

wraplog

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wraplog - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

4

CHANGELOG.md

@@ -0,1 +1,5 @@

## v0.0.3 - 201801170936
- add option diverting logs to console, without setting debugs
## v0.0.2 - 201801071133

@@ -2,0 +6,0 @@

4

index.js

@@ -10,4 +10,6 @@ const winston = require('winston');

logTransports.push(new winston.transports.File({ filename: './logs/' + role + '.log' }));
} else if (opts.debug !== undefined || process.env.DEBUG) {
} else if (opts.debug !== undefined || process.env.DEBUG || process.env.LOG_TO_CONSOLE === 'color') {
logTransports.push(new winston.transports.Console({ colorize: true }));
} else if (opts.console !== undefined || process.env.LOG_TO_CONSOLE) {
logTransports.push(new winston.transports.Console({ colorize: false }));
} else {

@@ -14,0 +16,0 @@ const syslogOptions = {

{
"name": "wraplog",
"license": "BSD-3-Clause",
"version": "0.0.2",
"version": "0.0.3",
"dependencies": {

@@ -18,5 +18,5 @@ "winston": "^3.0.0-rc1",

"scripts": {
"release": "npm login && git push -u origin master && npm publish",
"release": "(npm whoami | grep '^Not authed' >/dev/null && npm login) ; npm whoami | grep '^Not authed' >/dev/null && echo 'login to npm required' >&2 && exit 1 ; git push -u origin master && npm publish",
"test": "make test"
}
}
# Logger library - npmjs' wraplog
* [![CircleCI](https://circleci.com/gh/faust64/logger.svg?style=svg)](https://circleci.com/gh/faust64/logger)
* Last tests against master on CircleCI: [![CircleCI](https://circleci.com/gh/faust64/logger.svg?style=svg)](https://circleci.com/gh/faust64/logger)

@@ -5,0 +5,0 @@ * Install with:

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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