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

@goldstack/utils-log

Package Overview
Dependencies
Maintainers
0
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@goldstack/utils-log - npm Package Compare versions

Comparing version 0.3.10 to 0.3.11

7

dist/src/utilsLog.d.ts
export declare function debug(msg: string): void;
export declare function info(msg: string): void;
export declare function info(msg: string, properties?: {
[key: string]: any;
}): void;
export declare function warn(msg: string, properties?: {
[key: string]: any;
}): void;
export declare function error(msg: string): void;
export declare const fatal: (msg: string) => void;
//# sourceMappingURL=utilsLog.d.ts.map

10

dist/src/utilsLog.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.fatal = exports.error = exports.info = exports.debug = void 0;
exports.fatal = exports.error = exports.warn = exports.info = exports.debug = void 0;
const utils_cli_1 = require("@goldstack/utils-cli");

@@ -10,6 +10,10 @@ const isDebug = process.env.GOLDSTACK_DEBUG || process.env.DEBUG;

exports.debug = debug;
function info(msg) {
(0, utils_cli_1.logger)().info(msg);
function info(msg, properties) {
(0, utils_cli_1.logger)().info(properties, msg);
}
exports.info = info;
function warn(msg, properties) {
(0, utils_cli_1.logger)().warn(properties, msg);
}
exports.warn = warn;
function error(msg) {

@@ -16,0 +20,0 @@ (0, utils_cli_1.logger)().error(msg);

{
"name": "@goldstack/utils-log",
"version": "0.3.10",
"version": "0.3.11",
"description": "Utilities for emitting logs.",

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

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