Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fouber/tlog
colorful log by using tag
https://github.com/fouber/tlog
Last synced: 5 days ago
JSON representation
colorful log by using tag
- Host: GitHub
- URL: https://github.com/fouber/tlog
- Owner: fouber
- Created: 2016-12-18T09:14:23.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-18T09:51:24.000Z (almost 8 years ago)
- Last Synced: 2024-10-28T16:59:36.422Z (17 days ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tlog
colorful log by using tag
```js
var tlog = require('talog');tlog('[D] this is a "%s" message.', 'debug');
tlog('[E] this is a "%s" message.', 'error');
tlog('[I] this is a "%s" message.', 'info');
tlog('[W] this is a "%s" message.', 'warning');
tlog('[N] this is a "%s" message.', 'notice');
```