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

@apify/log

Package Overview
Dependencies
Maintainers
10
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apify/log - npm Package Compare versions

Comparing version 2.3.0 to 2.4.0

9

log.d.ts

@@ -47,5 +47,8 @@ import { Logger } from './logger';

* ```js
* const Apify = require('apify');
* const { log } = Apify.utils;
* import log from '@apify/log';
*
* // importing from the Apify SDK or Crawlee is also supported:
* // import { log } from 'apify';
* // import { log } from 'crawlee';
*
* log.info('Information message', { someData: 123 }); // prints message

@@ -60,4 +63,4 @@ * log.debug('Debug message', { debugData: 'hello' }); // doesn't print anything

* log.info('Info message'); // doesn't print anything
* log.error('Error message', { errorDetails: 'This is bad!' }); // prints message
*
* log.error('Error message', { errorDetails: 'This is bad!' }); // prints message
* try {

@@ -64,0 +67,0 @@ * throw new Error('Not good!');

{
"name": "@apify/log",
"version": "2.3.0",
"version": "2.4.0",
"description": "Tools and constants shared across Apify projects.",

@@ -49,3 +49,3 @@ "main": "./index.js",

},
"gitHead": "19e16689c264ff481ce0bfc77e6a8a49bb1e551f"
"gitHead": "74cdb1b943c5354e5894477df4e5d61513ffdc3a"
}

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