https://github.com/phara0h/wog
Just a wittle wogger
https://github.com/phara0h/wog
colors log logging node node-js node-module nodejs zalgo zero-dependency
Last synced: 11 months ago
JSON representation
Just a wittle wogger
- Host: GitHub
- URL: https://github.com/phara0h/wog
- Owner: Phara0h
- License: mit
- Created: 2021-02-04T17:42:12.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-14T19:18:33.000Z (about 5 years ago)
- Last Synced: 2024-10-15T11:01:29.782Z (over 1 year ago)
- Topics: colors, log, logging, node, node-js, node-module, nodejs, zalgo, zero-dependency
- Language: JavaScript
- Homepage:
- Size: 55.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wog
Just a wittle wogger with no dependencies
### Install
```bash
npm install wog --save
```
### Init
```js
//these are the default values
const wog = require('wog')({
enable: true,
colors: true,
level: 'meme',
logger: console,
jsonoutput: false
});
```
### Usage
```js
//these are the default values
wog.info('Its ight');
wog.warn('Oh noes its a warnning!');
wog.error('Yikes!');
wog.fatal('f');
wog.debug('Why?');
wog.trace('there you are', {meme:'city'});
wog.wtf('i give up');
wog.meme('I summon thee');
```