https://github.com/fouber/tlog
colorful log by using tag
https://github.com/fouber/tlog
Last synced: 4 months 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 (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-18T09:51:24.000Z (over 8 years ago)
- Last Synced: 2025-02-07T09:48:23.450Z (5 months 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');
```