πŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more β†’
Socket
Book a DemoInstallSign in
Socket

@dotcom-reliability-kit/logger

Package Overview
Dependencies
Maintainers
5
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dotcom-reliability-kit/logger - npm Package Compare versions

Comparing version

to
4.1.0

3

lib/logger.js

@@ -79,3 +79,4 @@ const pino = require('pino').default;

const prettificationAllowed =
appInfo.environment !== 'production' && appInfo.cloudProvider !== 'aws';
!['production', 'prod', 'p'].includes(appInfo.environment.toLowerCase()) &&
appInfo.cloudProvider !== 'aws';

@@ -82,0 +83,0 @@ /**

{
"name": "@dotcom-reliability-kit/logger",
"version": "4.0.1",
"version": "4.1.0",
"description": "A simple and fast logger based on Pino, with FT preferences baked in",

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

@@ -252,3 +252,3 @@

Whether to send prettified logs if available. This option has no effect if you have the `NODE_ENV` environment variable set to either `production` or if you have not installed [pino-pretty](https://github.com/pinojs/pino-pretty#readme). See [local development usage](#local-development-usage) for more information.
Whether to send prettified logs if available. This option has no effect if you have the `NODE_ENV` environment variable set to `production` (`prod` or `p` also work) or if you have not installed [pino-pretty](https://github.com/pinojs/pino-pretty#readme). See [local development usage](#local-development-usage) for more information.

@@ -255,0 +255,0 @@ Must be a `Boolean` and defaults to `true`.