Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/moeriki/georgeous

Make your console logs georgeous.
https://github.com/moeriki/georgeous

Last synced: 22 days ago
JSON representation

Make your console logs georgeous.

Awesome Lists containing this project

README

        


georgeous 🐒


Make your console logs georgeous.




npm version


dependencies Status


Known Vulnerabilities

---

## Install

```sh
npm install --save georgeous
```

## Usage

```js
const log = require('georgeous');

log('Hello World!');
log({ level: 'info', msg: 'Hello World!' });

log.info('successfully logged in', { user: 'moeriki' });

log.warn('could not get asset by ID', { id: 123 });

log.error('failure', new Error('NOPE'));

log.fatal('catastrophic failure');
```

* [Hyper](https://hyper.is)
* [Hyper Snazzy](https://github.com/sindresorhus/hyper-snazzy)
* [Chalk](https://github.com/chalk/chalk)

### Use with Bunyan

**install**

```
npm install --save-dev georgeous
```

**package.json** *in your app*

```js
{
"start": "node index.js | georgeous --preset bunyan"
}
```

Setup Bunyan are you normally would.