Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eliasnorrby/log-util
:ballot_box_with_check: Dead simple logging utility
https://github.com/eliasnorrby/log-util
Last synced: about 23 hours ago
JSON representation
:ballot_box_with_check: Dead simple logging utility
- Host: GitHub
- URL: https://github.com/eliasnorrby/log-util
- Owner: eliasnorrby
- License: mit
- Created: 2019-12-18T13:30:18.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-26T04:04:19.000Z (almost 2 years ago)
- Last Synced: 2024-10-11T07:55:52.878Z (27 days ago)
- Language: TypeScript
- Homepage:
- Size: 2.17 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Log Util
[![Travis][travis-badge]][travis-link]
[![npm][npm-badge]][npm-link][![Dependabot Status][dependabot-badge]][dependabot-link]
[![semantic-release][semantic-release-badge]][semantic-release-link]A dead simple logging utility I use in my tool configs.
## Usage
```js
const log = require('log-util')log.info('Unwinding the flux hydralics...')
log.warn("It's taking a long time...")
log.ok('All done!')
```## Available methods
### `log.ok`
### `log.info`
### `log.warn`
### `log.fail`
### `log.skip`
[travis-badge]: https://img.shields.io/travis/com/eliasnorrby/log-util?style=for-the-badge
[travis-link]: https://travis-ci.com/eliasnorrby/log-util
[npm-badge]: https://img.shields.io/npm/v/@eliasnorrby/log-util?style=for-the-badge
[npm-link]: https://www.npmjs.com/package/@eliasnorrby/log-util
[dependabot-badge]: https://api.dependabot.com/badges/status?host=github&repo=eliasnorrby/log-util
[dependabot-link]: https://dependabot.com
[semantic-release-badge]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
[semantic-release-link]: https://github.com/semantic-release/semantic-release