Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/ivangabriele/bhala
- Owner: ivangabriele
- License: mit
- Created: 2021-08-08T23:27:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-01T00:58:50.000Z (about 1 month ago)
- Last Synced: 2024-10-12T19:31:43.097Z (about 1 month ago)
- Language: TypeScript
- Homepage:
- Size: 2.82 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
Pretty (!), powerful and highly customizable Node.js logger.---
---
## 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[])
```