https://github.com/isaccanedo/tlog
:computer: colorful log by using tag
https://github.com/isaccanedo/tlog
color colorful json log tag terminal
Last synced: 3 months ago
JSON representation
:computer: colorful log by using tag
- Host: GitHub
- URL: https://github.com/isaccanedo/tlog
- Owner: isaccanedo
- Created: 2024-05-04T14:37:07.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-04T14:41:00.000Z (about 2 years ago)
- Last Synced: 2025-03-01T15:29:14.951Z (over 1 year ago)
- Topics: color, colorful, json, log, tag, terminal
- Language: JavaScript
- Homepage:
- Size: 1000 Bytes
- Stars: 1
- Watchers: 1
- 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');
```