https://github.com/int64ago/chalklog
:package: [npm] A logger based on chalk
https://github.com/int64ago/chalklog
chalk logger
Last synced: over 1 year ago
JSON representation
:package: [npm] A logger based on chalk
- Host: GitHub
- URL: https://github.com/int64ago/chalklog
- Owner: int64ago
- License: mit
- Created: 2017-01-12T07:10:29.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-21T15:31:41.000Z (over 9 years ago)
- Last Synced: 2025-03-14T03:06:47.079Z (over 1 year ago)
- Topics: chalk, logger
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chalklog
A logger based on [chalk](https://github.com/chalk/chalk)
[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url]
### Usage
`npm i chalklog`
```javascript
var Logger = require('chalklog');
var log = new Logger('scope');
log.red('red');
log.bgGreen('bgGreen');
log.blue.bgRed.bold('blue+bgRed+bold');
```

### License
[![license][license-image]][license-url]
[npm-url]: https://npmjs.org/package/chalklog
[npm-image]: https://img.shields.io/npm/v/chalklog.svg
[travis-url]: https://travis-ci.org/int64ago/chalklog
[travis-image]: https://img.shields.io/travis/int64ago/chalklog.svg
[license-url]: https://github.com/int64ago/chalklog/blob/master/LICENSE
[license-image]: https://img.shields.io/github/license/int64ago/chalklog.svg