/bhala

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

Primary LanguageTypeScriptMIT LicenseMIT

bhala

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


MIT Licence NPM Version Check Workflow Status


Table of Contents

Install

npm i -E bhala

or:

yarn add -E bhala

Usage

import { B } from 'bhala'

B.log('Here is a wonderful log.')
B.event('Here is a wonderful event.')

API

Contants

Methods

debug()

B.debug(...messages: string[])

error()

B.error(...messages: string[])

event()

B.event(...messages: string[])

info()

B.info(...messages: string[])

log()

B.log(...messages: string[])

success()

B.success(...messages: string[])

warn()

B.warn(...messages: string[])