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

@parcel/logger

Package Overview
Dependencies
Maintainers
1
Versions
903
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parcel/logger

Blazing fast, zero configuration web application bundler

  • 2.0.0-nightly.258
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created

What is @parcel/logger?

@parcel/logger is a logging utility used primarily within the Parcel bundler ecosystem. It provides a standardized way to log messages, warnings, errors, and progress updates, making it easier to track the build process and debug issues.

What are @parcel/logger's main functionalities?

Logging Messages

This feature allows you to log general messages. The `log` method is used to output informational messages that can help in understanding the flow of the application.

const logger = require('@parcel/logger');
logger.log({message: 'This is a log message'});

Logging Warnings

This feature allows you to log warning messages. The `warn` method is used to highlight potential issues that are not critical but should be looked into.

const logger = require('@parcel/logger');
logger.warn({message: 'This is a warning message'});

Logging Errors

This feature allows you to log error messages. The `error` method is used to log critical issues that may cause the application to fail.

const logger = require('@parcel/logger');
logger.error({message: 'This is an error message'});

Logging Progress

This feature allows you to log progress updates. The `progress` method is used to indicate the completion percentage of a task, which is useful for long-running processes.

const logger = require('@parcel/logger');
logger.progress(50);

Other packages similar to @parcel/logger

FAQs

Package last updated on 09 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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