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.1
  • 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.


Licence NPM Version GitHub Workflow Status


Table of Contents

Usage

A not-so-serious proposed practice is to use the ß character to reference bhala library.

  • Linux: DuckDuckGo it!
  • macOS: Option + s
  • Windows: Alt + 225

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
}

Name

You may wonder why "bhala"? It means "write" in Zulu, which you can learn how to conjugate (ngibhala, ubhala, etc) if you also love learning new languages 😉.


Keywords

FAQs

Package last updated on 23 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