Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@koopjs/logger

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@koopjs/logger - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

5

CHANGELOG.md

@@ -5,2 +5,6 @@ # Change Log

## [2.0.1] - 2018-01-18
### Changed
* Log json in production
## [2.0.0] - 2018-01-17

@@ -34,2 +38,3 @@ ### Changed

[2.0.1]: https://www.github.com/koopjs/koop-logger/compare/v2.0.0..v2.0.1
[2.0.0]: https://www.github.com/koopjs/koop-logger/compare/v1.2.0..v2.0.0

@@ -36,0 +41,0 @@ [1.2.0]: https://www.github.com/koopjs/koop-logger/compare/v1.1.1..v1.2.0

7

index.js

@@ -23,6 +23,7 @@ /* @flow */

if (!config.logfile) {
// no logfile defined, log to STDOUT an STDERR
// no logfile defined, log to STDOUT an STDERRv
const debugConsole = new winston.transports.Console({
colorize: true,
level
colorize: !!process.env.NODE_ENV,
level,
json: !!process.env.NODE_ENV
})

@@ -29,0 +30,0 @@ return new winston.Logger({ transports: [debugConsole] })

{
"name": "@koopjs/logger",
"version": "2.0.0",
"version": "2.0.1",
"description": "A shared logger for Koop",

@@ -5,0 +5,0 @@ "main": "index.js",

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