You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@parcel/logger

Package Overview
Dependencies
Maintainers
1
Versions
854
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


Version published
Weekly downloads
647K
increased by0.01%
Maintainers
1
Created
Weekly downloads
 

Package description

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 24 May 2024

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc