Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ivangabriele/bhala

Pretty (!), powerful and highly customizable Node.js logger.
https://github.com/ivangabriele/bhala

Last synced: 17 days ago
JSON representation

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

Awesome Lists containing this project

README

        



bhala


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

---



MIT Licence


NPM Version


Check Workflow Status

---

## Table of Contents

- [Table of Contents](#table-of-contents)
- [Install](#install)
- [Usage](#usage)
- [API](#api)
- [Contants](#contants)
- [Methods](#methods)
- [`debug()`](#debug)
- [`error()`](#error)
- [`event()`](#event)
- [`info()`](#info)
- [`log()`](#log)
- [`success()`](#success)
- [`warn()`](#warn)

## Install

```sh
npm i -E bhala
```

or:

```sh
yarn add -E bhala
```

## Usage

```js
import { B } from 'bhala'

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

## API

### Contants

### Methods

#### `debug()`

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

#### `error()`

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

#### `event()`

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

#### `info()`

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

#### `log()`

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

#### `success()`

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

#### `warn()`

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