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

kitten-logger

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kitten-logger - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

4

CHANGELOG.md

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

## v0.3.2
*2024-11-08*
- Fix logger level from env.
## v0.3.1

@@ -2,0 +6,0 @@ *2024-10-21*

6

index.js

@@ -15,6 +15,6 @@ const cluster = require('cluster');

// Remove timestamp and color from "debug" package
process.env.DEBUG_HIDE_DATE = true;
process.env.DEBUG_COLORS = 0;
process.env.DEBUG_HIDE_DATE = process.env.DEBUG_HIDE_DATE || true;
process.env.DEBUG_COLORS = process.env.DEBUG_COLORS || 0;
process.env.KITTEN_LOGGER = process.env.KITTEN_LOGGER || process.env.DEBUG || '*';
process.env.KITTEN_LOGGER_LEVEL = 'INFO';
process.env.KITTEN_LOGGER_LEVEL = process.env.KITTEN_LOGGER_LEVEL|| 'INFO';

@@ -21,0 +21,0 @@ if (process.env.KITTEN_LOGGER_IS_LOADED) {

{
"name": "kitten-logger",
"version": "0.3.1",
"version": "0.3.2",
"description": "",

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

@@ -84,3 +84,3 @@ # kitten-logger

Create a persistent logger. It returns a logger Object.
Create a simple logger. It returns a logger Object.

@@ -87,0 +87,0 @@ Variable | Description

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