Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/moeriki/georgeous
- Owner: moeriki
- License: gpl-3.0
- Created: 2017-06-29T16:54:47.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-06T08:00:38.000Z (about 6 years ago)
- Last Synced: 2024-12-21T23:36:09.689Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 432 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
georgeous 🐒
Make your console logs georgeous.
---
## 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.