Socket
Socket
Sign inDemoInstall

@falsy/logger

Package Overview
Dependencies
Maintainers
4
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@falsy/logger - npm Package Compare versions

Comparing version 3.0.5 to 3.0.6

12

build/index.js

@@ -91,9 +91,7 @@ "use strict";

*/
const getTransports = (config) => (0, fputils_1.pipe)([
new winston_1.transports.Console({
level: config.level || 'debug',
format: winston_1.format.combine(winston_1.format.colorize(), winston_1.format.timestamp(), winston_1.format.json(), customFormat),
handleExceptions: true,
}),
], (0, utils_1.appendWhen)(() => new winston_daily_rotate_file_1.default({
const getTransports = (config) => (0, fputils_1.pipe)([], (0, utils_1.appendWhen)(() => new winston_1.transports.Console({
level: config.level || 'debug',
format: winston_1.format.combine(winston_1.format.colorize(), winston_1.format.timestamp(), winston_1.format.json(), customFormat),
handleExceptions: true,
}), config.enableConsoleLog), (0, utils_1.appendWhen)(() => new winston_daily_rotate_file_1.default({
level: config.level || 'info',

@@ -100,0 +98,0 @@ dirname: config.directory,

@@ -103,2 +103,7 @@ import { Optional } from 'fputils';

syslogPort?: number;
/**
* Pokud false, tak logger nebude logovat do console.
* Užitečné pro šetření místa na disku pokud už loguji do souboru.
*/
enableConsoleLog?: boolean;
}
{
"name": "@falsy/logger",
"version": "3.0.5",
"version": "3.0.6",
"packageManager": "yarn@3.0.1",

@@ -5,0 +5,0 @@ "main": "build/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