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

bhala

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bhala

A pretty (!), powerful and customizable logging library for Node.js.

  • 1.0.0-alpha.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
10
decreased by-84.13%
Maintainers
1
Weekly downloads
 
Created
Source

bhala

Pretty (!), powerful and highly customizable Node.js logger.


⚠️ WORK IN PROGRESS // DO NOT USE


Table of Contents

Usage

A common proposed practice is to use the β character to reference to bahla library.

Settings

API

Contants

EMO
SYM

Methods

All method options can be customized globally

debug()
β.log(message: string, isColorless?: boolean, options)
β.log(message: string, icon?: string, isColorless?: boolean)
error()
β.log(message: string, isColorless?: boolean, options)
β.log(message: string, icon?: string, isColorless?: boolean)
info()
β.log(message: string, isColorless?: boolean, options)
β.log(message: string, icon?: string, isColorless?: boolean)
log()
β.log(message: string, isColorless?: boolean, options)
β.log(message: string, icon?: string, isColorless?: boolean)
warn()
β.log(message: string, options: OutputOptions)
β.log(message: string, icon?: string, isColorless?: boolean)

Examples

β.log("Some")
// Output: 

Options

OutputOptions
type OutputOptions = {
  isColorless?: boolean
}

Keywords

FAQs

Package last updated on 09 Aug 2021

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