https://github.com/bullgit/bulllog
Why bother logging ugly Messages to your console when you can also log fancy bullshit?
https://github.com/bullgit/bulllog
Last synced: 3 months ago
JSON representation
Why bother logging ugly Messages to your console when you can also log fancy bullshit?
- Host: GitHub
- URL: https://github.com/bullgit/bulllog
- Owner: bullgit
- Created: 2014-05-22T19:57:00.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-05-27T12:15:40.000Z (about 12 years ago)
- Last Synced: 2025-12-20T18:56:36.829Z (6 months ago)
- Language: JavaScript
- Size: 141 KB
- Stars: 10
- Watchers: 18
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bulllog.js
Why bother logging ugly Messages to your console when you can also log fancy bullshit?
### Usage:
Just include the amazingly small bulllog.min.js into your page and initialize it as followed
```javascript
var log = new Bulllog({
'font-size': '3em',
color: '#1393d5',
background: '#333',
padding: '0.25em'
});
log.msg('VIVA LA BULLGIT!');
```
You can pass any CSS property value pair you'd like. If it works or not is up to your console I guess. Notize that any property with a hypen (-) need to be written in quotes, just like "font-size". There are no default values so log.msg('test') will give you a standard console log.
**Notice:** This works only in Chrome.