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

@4lch4/logger

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@4lch4/logger - npm Package Compare versions

Comparing version 1.2.0 to 1.4.0

.github/CODE_OF_CONDUCT.md

1

dist/index.d.ts

@@ -13,1 +13,2 @@ import { ILogger, ILoggerOpts } from './interfaces';

}
export declare const logger: Logger;

3

dist/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Logger = void 0;
exports.logger = exports.Logger = void 0;
const interfaces_1 = require("./interfaces");

@@ -67,2 +67,3 @@ const lib_1 = require("./lib");

exports.Logger = Logger;
exports.logger = new Logger();
//# sourceMappingURL=index.js.map

@@ -1,2 +0,2 @@

import { Level } from ".";
import { Level } from '.';
export interface ILogger {

@@ -3,0 +3,0 @@ info: (msg: string) => void;

{
"name": "@4lch4/logger",
"displayName": "Logger",
"version": "1.2.0",
"version": "1.4.0",
"description": "A small utility for logging to console within NodeJS/TypeScript applications.",
"main": "dist/index.js",
"scripts": {
"prepublishonly": "tsc",
"release": "np"
"build": "tsc",
"pretty": "prettier --write . && git add . && git commit -m 'ci(pretty): project prettied'"
},

@@ -11,0 +11,0 @@ "keywords": [

@@ -24,3 +24,3 @@ # @4lch4/logger

> **_NOTE: You can also create new instances throughout your app and it will log to the same files/locations._**
> **_NOTE: You can also create new instances throughout your app and it will log to the same files/locations._**

@@ -27,0 +27,0 @@ ```typescript

@@ -73,1 +73,3 @@ import { ILogger, ILoggerOpts, Level } from './interfaces'

}
export const logger = new Logger()
import { Color } from 'chalk'
import { Level } from '.'
export interface IColorOpts {

@@ -6,0 +5,0 @@ [Level.debug]: typeof Color

@@ -1,2 +0,2 @@

import { Level } from "."
import { Level } from '.'

@@ -3,0 +3,0 @@ /**

@@ -10,3 +10,3 @@ import { IColorOpts, LogFormat } from '.'

/**
/**
* An optional field that specifies where to store log files. If this property

@@ -16,2 +16,2 @@ * is left empty, then no files are created and logging only goes to stdout.

logDir?: string
}
}
export * from './defaults'
export * from './Formatter'
export * from './legacy'

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